diff options
author | okan <okan> | 2013-11-01 14:07:19 +0000 |
---|---|---|
committer | okan <okan> | 2013-11-01 14:07:19 +0000 |
commit | 06eb13dfd949199a730e9373529ef2a7e9f4b1e6 (patch) | |
tree | 6c24c061e4ab582d5c23d66ba244c1b369a86af7 /calmwm.h | |
parent | 6e17b41f566865629d3dd35a6a60e081e6e2b089 (diff) | |
download | cwm-06eb13dfd949199a730e9373529ef2a7e9f4b1e6.tar.gz cwm-06eb13dfd949199a730e9373529ef2a7e9f4b1e6.tar.xz cwm-06eb13dfd949199a730e9373529ef2a7e9f4b1e6.zip |
re-add support for WM_TAKE_FOCUS, and additionally this time only call
XSetInputFocus() for clients that have the InputHint; latter fix discovered by Valery Masiutsin with a PoC patch - solves keyboard input focus loss for java apps.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h index 4f20a81..439c16f 100644 --- a/calmwm.h +++ b/calmwm.h @@ -165,6 +165,7 @@ struct client_ctx { #define CLIENT_FREEZE 0x0010 #define CLIENT_GROUP 0x0020 #define CLIENT_UNGROUP 0x0040 +#define CLIENT_INPUT 0x0080 #define CLIENT_HIGHLIGHT (CLIENT_GROUP | CLIENT_UNGROUP) #define CLIENT_MAXFLAGS (CLIENT_VMAXIMIZED | CLIENT_HMAXIMIZED) |