weston/xwayland
Hideyuki Nagase 55b2bf9393 xwayland: Respect client WM_TAKE_FOCUS setting
According to https://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7 we should
send this focus notification only if a client has WM_TAKE_FOCUS set in
their WM_PROTOCOLS property. We've been sending it unconditionally.

Rather, we've been not-sending it unconditionally because the event mask
is wrong, but that will be fixed in a future commit. Fixing the event
mask first would break some clients (such as xterm).

Co-authored-by: Steve Pronovost <spronovo@microsoft.com>
Co-authored-by: Brenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: Steve Pronovost <spronovo@microsoft.com>
Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>
2022-08-08 12:43:34 +00:00
..
dnd.c libweston: correct argument name in the handler of wl_data_source.accept 2022-04-14 12:05:57 +00:00
hash.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
hash.h include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
launcher.c xwayland: Fix user after free on shutdown 2022-01-21 11:42:03 +00:00
meson.build shared/xcb-xwayland: Split into common helpers 2022-06-22 08:08:41 +00:00
selection.c xwm: Fix pasting in some cases 2022-05-31 17:57:03 +00:00
window-manager.c xwayland: Respect client WM_TAKE_FOCUS setting 2022-08-08 12:43:34 +00:00
xwayland-internal-interface.h libweston-desktop: Add get_position 2022-06-29 11:44:48 +00:00
xwayland.h shared/xcb-xwayland: Split into common helpers 2022-06-22 08:08:41 +00:00