summaryrefslogtreecommitdiffstats
path: root/window.h
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-01-30 20:39:28 +0100
committertv <tv@nomic.retiolum>2013-01-30 20:51:20 +0100
commit3f25b907bd1fbea563ddf335fb3d308094fa81c6 (patch)
treec84f22ad2c3509f454c49eb6829756edba4a1084 /window.h
parentbcbe3b1475261cb76de62d0e89c7f83ee2b4c53a (diff)
downloadnsxiv-3f25b907bd1fbea563ddf335fb3d308094fa81c6.tar.zst
When using -g hint the WM that we've got user specified geometry
Without this some window managers (e.g. fvwm) will ignore the initial window position and place it according to it's own rules.
Diffstat (limited to 'window.h')
-rw-r--r--window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/window.h b/window.h
index 6bc6595..60f2864 100644
--- a/window.h
+++ b/window.h
@@ -20,6 +20,7 @@
#define WINDOW_H
#include <X11/Xlib.h>
+#include <X11/Xutil.h>
#include "types.h"
@@ -48,6 +49,8 @@ typedef struct {
unsigned int h; /* = win height - bar height */
unsigned int bw;
+ XSizeHints sizehints;
+
bool fullscreen;
struct {