From 3f25b907bd1fbea563ddf335fb3d308094fa81c6 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 30 Jan 2013 20:39:28 +0100 Subject: 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. --- window.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'window.h') 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 +#include #include "types.h" @@ -48,6 +49,8 @@ typedef struct { unsigned int h; /* = win height - bar height */ unsigned int bw; + XSizeHints sizehints; + bool fullscreen; struct { -- cgit v1.2.3-54-g00ecf