wlroots/include/wlr
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
..
backend Multiseat fixes 2018-06-14 20:46:16 +12:00
interfaces rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
render render: add wlr_texture_is_opaque 2018-07-12 23:35:33 +01:00
types Merge pull request #1127 from emersion/surface-precommit 2018-07-27 13:21:03 -04:00
util util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
backend.h backends: implement custom EGL and renderer initialization 2018-05-25 14:56:52 +03:00
meson.build Install include directory into includedir 2018-04-03 16:56:32 +02:00
xcursor.h Fix typo in xcursor.h 2018-02-02 08:48:01 -05:00
xwayland.h reintroduce xwayland is_unmanaged 2018-07-29 14:43:17 +02:00