diff options
author | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2006-05-20 22:50:41 +0000 |
---|---|---|
committer | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2006-05-20 22:50:41 +0000 |
commit | bc22660e17f5be34f50302f2efaefb29c9271c15 (patch) | |
tree | bffbc12d6e10d7e5d6c7a14a9e4b4acffd4b8509 /src/hints.h | |
parent | 18a933bdc6e154bb90d338512a6ae04e7ddd170b (diff) | |
download | xfwm4-bc22660e17f5be34f50302f2efaefb29c9271c15.tar.gz |
Fix bug with WM hints for focus not being updated properly, fix bug with gtk+ apps seen as focused even when iconified (!)
(Old svn revision: 21740)
Diffstat (limited to 'src/hints.h')
-rw-r--r-- | src/hints.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hints.h b/src/hints.h index 1ef3d14a6..ef7d43154 100644 --- a/src/hints.h +++ b/src/hints.h @@ -111,6 +111,10 @@ #define NET_WM_OPAQUE 0xffffffff +/* Convenient macro */ +#define HINTS_ACCEPT_INPUT(wmhints) (!(wmhints) || \ + ((wmhints) && !(wmhints->flags & InputHint)) || \ + ((wmhints) && (wmhints->flags & InputHint) && (wmhints->input))) typedef struct { unsigned long orientation; |