diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2017-03-06 16:24:51 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2017-03-06 16:24:51 +0100 |
commit | 0feb29e78bb3b36387950dc2fb8d991ac875a374 (patch) | |
tree | c54dceac0306b845da6976dd7ecd31591b7a79f2 /src/client.h | |
parent | 3e7babad026e4d2ef6140bdb3d57b04c35695305 (diff) | |
download | xfwm4-0feb29e78bb3b36387950dc2fb8d991ac875a374.tar.gz |
netwm: Make docks and spash screens appear focused
The panel is a dock window, and may appear differently as it is not
focused by default by the window manager.
Set the NET_WM_STATE_FOCUSED property on windows of type dock or
spashscreen so that they don't get the state GTK_STATE_FLAG_BACKDROP set
by default.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index fd8b73090..6342cae0e 100644 --- a/src/client.h +++ b/src/client.h @@ -206,6 +206,8 @@ WINDOW_UTILITY) #define WINDOW_TYPE_DONT_FOCUS (WINDOW_SPLASHSCREEN | \ WINDOW_DOCK) +#define WINDOW_TYPE_STATE_FOCUSED (WINDOW_SPLASHSCREEN | \ + WINDOW_DOCK ) /* Which bits of opacity are applied */ #define OPACITY_MOVE (1<<0) |