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.
This commit is contained in:
okan
2013-11-01 14:07:19 +00:00
parent 6e17b41f56
commit 06eb13dfd9
2 changed files with 18 additions and 8 deletions

View File

@@ -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)