wlroots-hyprland/rootston
Markus Ongyerth 81cc842f8f reintroduce xwayland is_unmanaged
153f37bdf5 (#1145) removed the
wlr_xwayland_is_unamanged function while fixing OR, because it was
belieived that it's supposed to work around the broken OR handling.

This was a misunderstanding. is_unmanaged is (while sort of a hack)
intended to work around inherent differences between "real" X sessions
and our Xwayland/wayland situation.

The main reason it exists is to support applications like rofi and dzen,
while not handing focus to other OR windows (which should *not* be
required).
Traditionally, these applications just grabbed input from X and didn't
need to be focused by any logic in the WM. Which of course doesn't work
in wayland compositors. So we have to give them focus in some way.
Giving *every* OR window focus, breaks other applications that don't
expect focus to change.

A testcase that was pointed out to me where wlr_xwayland_is_unamanged was
breaking things is https://github.com/swaywm/sway/issues/2128 (syncplay,
gitk, gitgui)
Supposedly it broke using keyboard to navigate the menus.
I can't reproduce this with this patch. The popups can be navigated as
long as the parent has focus.
2018-07-29 14:43:17 +02:00
..
config.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
cursor.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
desktop.c linux-dmabuf: add v1 suffix 2018-07-19 21:50:05 +01:00
ini.c Fix gcc string truncation warnings 2018-04-13 14:37:53 +09:00
input.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
keyboard.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
layer_shell.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
main.c rootston: Reap child processes 2018-07-24 08:22:35 -04:00
meson.build virtual-keyboard: add support for the virtual-keyboard-v1 protocol 2018-05-28 10:05:55 +02:00
output.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
rootston.ini.example rootston: Handle modeline parameter 2018-07-07 17:31:42 +02:00
seat.c reintroduce xwayland is_unmanaged 2018-07-29 14:43:17 +02:00
virtual_keyboard.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_shell.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
xdg_shell.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
xdg_shell_v6.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
xwayland.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00