awesome/objects
Uli Schlachter 2f78ec5b30 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-09-28 23:36:23 +02:00
..
button.c Document C API directly in the C source code 2015-06-19 23:13:31 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c Never explicitly focus the root window 2015-09-28 23:36:23 +02:00
client.h Rename client_maybevisible to client_on_selected_tags 2015-09-25 00:43:52 +02:00
drawable.c Document C API directly in the C source code 2015-06-19 23:13:31 +02:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c drawin: lazily configure drawin windows 2015-08-23 15:25:23 +02:00
drawin.h drawin: lazily configure drawin windows 2015-08-23 15:25:23 +02:00
key.c Document C API directly in the C source code 2015-06-19 23:13:31 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c screen_client_moveto: only emit property::screen if it changed 2015-07-26 00:49:35 +02:00
screen.h Clean up header includes 2014-03-30 20:07:48 +02:00
tag.c doc: signals: minor improvements, mainly for "tagged" 2015-07-07 17:19:41 +02:00
tag.h tag_client: Add explicit lua_State argument 2014-12-06 11:14:59 +01:00
window.c Document C API directly in the C source code 2015-06-19 23:13:31 +02:00
window.h Clean up header includes 2014-03-30 20:07:48 +02:00