diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-02-25 09:57:30 +0100 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-02-26 12:02:49 +0100 |
commit | bb676013ed1b1b48847694a2159e3b009636b181 (patch) | |
tree | 18862338a2de095dfb41f4e451135fdab8af0b28 /include/rootston | |
parent | 3bce37f99a0390ef085063cb222b5e96584ae3dd (diff) | |
download | wlroots-bb676013ed1b1b48847694a2159e3b009636b181.tar.xz |
add xwayland unmanaged tests to support dmenu
This adds `wlr_xwayland_surface_is_unamanged`, to allow compositors more
fine grained control over XWayland focus.
A surface that is unmanaged should not receive focus, while other
windows that are just override redirect may want it (dmenu).
The way unamanged is determined is taken from wlc.
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/desktop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index ab3ae61a..467de8ab 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -78,6 +78,7 @@ void view_apply_damage(struct roots_view *view); void view_damage_whole(struct roots_view *view); void view_update_position(struct roots_view *view, double x, double y); void view_update_size(struct roots_view *view, uint32_t width, uint32_t height); +void view_initial_focus(struct roots_view *view); void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); void handle_xdg_shell_surface(struct wl_listener *listener, void *data); |