Allow xwayland views to become urgent when on a non-visible workspace

This removes the urgency stuff from the commit handler and puts it in a
new set_hints handler instead. This allows the xwayland surface to
become urgent without having to commit (which doesn't happen if it's on
an non-visible workspace).
This commit is contained in:
Ryan Dwyer 2018-07-19 21:08:51 +10:00
parent 4931d0ddc5
commit 63d6233fcb
2 changed files with 18 additions and 4 deletions

View file

@ -140,6 +140,7 @@ struct sway_xwayland_view {
struct wl_listener set_title;
struct wl_listener set_class;
struct wl_listener set_window_type;
struct wl_listener set_hints;
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener destroy;