aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmultiwindowclass.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-01-26 09:34:42 +0100
committermarha <marha@users.sourceforge.net>2012-01-26 09:34:42 +0100
commit6dff1084f0e0ea54d1b78ef8ba24df6bbc8fd68d (patch)
tree91b4fa0e3a27460a4123fe11fa250a92f5ba3b60 /xorg-server/hw/xwin/winmultiwindowclass.h
parentd99165260070ce9668f3eeac8bb010393f490c0a (diff)
downloadvcxsrv-6dff1084f0e0ea54d1b78ef8ba24df6bbc8fd68d.tar.gz
vcxsrv-6dff1084f0e0ea54d1b78ef8ba24df6bbc8fd68d.tar.bz2
vcxsrv-6dff1084f0e0ea54d1b78ef8ba24df6bbc8fd68d.zip
In multiwindow mode, don't grab native input focus for new windows which
hint they don't want it
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowclass.h')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowclass.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowclass.h b/xorg-server/hw/xwin/winmultiwindowclass.h
index c635ab20b..9767656e8 100644
--- a/xorg-server/hw/xwin/winmultiwindowclass.h
+++ b/xorg-server/hw/xwin/winmultiwindowclass.h
@@ -47,6 +47,16 @@ typedef struct {
/* this structure may be extended in the future */
} WinXWMHints;
+/* Window manager hints mask bits */
+#define InputHint (1L << 0)
+#define StateHint (1L << 1)
+#define IconPixmapHint (1L << 2)
+#define IconWindowHint (1L << 3)
+#define IconPositionHint (1L << 4)
+#define IconMaskHint (1L << 5)
+#define WindowGroupHint (1L << 6)
+#define UrgencyHint (1L << 8)
+#define AllHints (InputHint|StateHint|IconPixmapHint|IconWindowHint|IconPositionHint|IconMaskHint|WindowGroupHint)
/*
* new version containing base_width, base_height, and win_gravity fields;