gri3-wm/src
Ingo Bürk 5dbfb05c85 Use the EWMH support window rather than the root window as an input focus fallback.
If no other window is available on the active workspace, we now select the EWMH support window (used to indicate that an EWMH-compliant window manager is preent) as the focus window rather than the root window. The NET_WM_ACTIVE window will still be set to XCB_WINDOW_NONE to pretend that no window is actually focused.
This fixes the issue that when using the root window, a fallback mechanism in X11 takes effect which routes keyboard input to the window under the cursor, independent of whether that window has the input focus. Using the EWMH window instead, we can avoid this behavior. We cannot simply set it to XCB_WINDOW_NONE as this would discard all keyboard events, breaking keybindings.

fixes #1378
2015-09-13 20:29:02 +02:00
..
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
assignments.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
bindings.c Fix “precisely 1 group” error message 2015-09-05 14:32:58 +02:00
click.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
commands.c Merge pull request #1893 from rr-/resize 2015-09-11 14:31:33 -07:00
commands_parser.c Use safe wrappers inside "#if 0" too 2015-08-03 12:51:55 +03:00
con.c Make sure borders are never counted as adjacent to the edge for floating containers. 2015-09-05 01:44:37 +02:00
config.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
config_directives.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
config_parser.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
debug.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
display_version.c Display which config is used in --more_version 2015-07-10 22:54:25 +08:00
ewmh.c Use the EWMH support window rather than the root window as an input focus fallback. 2015-09-13 20:29:02 +02:00
fake_outputs.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
floating.c Support "resize set W H" 2015-09-11 23:12:07 +02:00
handlers.c Support moving dock clients to another output. 2015-09-05 21:30:55 +02:00
i3.mk Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
ipc.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
key_press.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
load_layout.c clang-format src/load_layout.c 2015-08-05 22:55:07 +02:00
log.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
main.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
manage.c layout restore: remove remaining criteria when swallowing window 2015-08-06 21:35:34 +02:00
match.c Support a special value "__focused__" as a command criterion pattern for class, instance, title, window_role and workspace. 2015-08-28 10:07:12 +02:00
move.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
output.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
randr.c Revert "Check if output is disabled in handle_output()" 2015-08-25 20:09:56 +02:00
regex.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
render.c Move aspect_ratio from Con to Window. 2015-08-31 21:27:13 +02:00
resize.c Added missing newlines in log statements. 2015-06-30 20:48:35 +02:00
restore_layout.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
scratchpad.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
sd-daemon.c format **/*.c with clang-format-3.5 2014-06-15 19:07:02 +02:00
sighandler.c Added missing newlines in log statements. 2015-06-30 20:48:35 +02:00
startup.c Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
tree.c Properly clear the urgency hint when set by i3. 2015-08-02 20:50:14 +02:00
util.c Merge pull request #1816 from tcreech/tcreech-for-illumos 2015-08-04 00:10:06 -07:00
version.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
window.c If a title contains a percent sign, make sure it is not swallowed by parsing the title_format (if one is set on the window). 2015-09-05 16:29:47 +02:00
workspace.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
x.c Use the EWMH support window rather than the root window as an input focus fallback. 2015-09-13 20:29:02 +02:00
xcb.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
xcursor.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
xinerama.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00