awesome/objects
Uli Schlachter 9b5ab994b0 Never explicitly focus the root window
Whenever client.focus == nil, we set the input focus to the root window to
express "nothing has the input focus". However, thanks to the way X11 input
works, this means that whatever is under the mouse cursor gets keyboard input
events. This can easily be reproduced with urxvt and some small addition to the
config to unfocus things.

This commit changes things. Instead of focusing the root window, we create a
special "no focus" window that gets focused if we want nothing to have the
focus.

Closes https://github.com/awesomeWM/awesome/pull/470.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-11-06 21:33:54 +01:00
..
button.c Renamed luaL_reg to luaL_Reg 2012-06-12 10:52:10 +02:00
button.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
client.c Never explicitly focus the root window 2015-11-06 21:33:54 +01:00
client.h Implement icon_pixmap and icon_mask from WM_HINTS (FS#1297) 2014-12-07 14:16:55 +01:00
drawable.c Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawable.h Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawin.c drawin_update_drawing: Remove optimization for invisible drawins 2014-10-11 13:30:33 +02:00
drawin.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
key.c lua_objlen wrapped in luaA_rawlen 2012-06-12 11:02:57 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
tag.c Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
tag.h Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
timer.c Use glib instead of libev 2012-11-21 21:01:12 +01:00
timer.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
window.c window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00
window.h window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00