diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-19 21:08:51 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-19 21:08:51 +1000 |
commit | 63d6233fcb601abd40f6c611aa4193766aaf9044 (patch) | |
tree | ab483bbac370d68b62fdc54ab6e61ff17229b97b /include | |
parent | Merge pull request #2300 from emersion/override-redirect-updates (diff) | |
download | sway-63d6233fcb601abd40f6c611aa4193766aaf9044.tar.gz sway-63d6233fcb601abd40f6c611aa4193766aaf9044.tar.zst sway-63d6233fcb601abd40f6c611aa4193766aaf9044.zip |
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).
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index e270f851..068d92c6 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -140,6 +140,7 @@ struct sway_xwayland_view { | |||
140 | struct wl_listener set_title; | 140 | struct wl_listener set_title; |
141 | struct wl_listener set_class; | 141 | struct wl_listener set_class; |
142 | struct wl_listener set_window_type; | 142 | struct wl_listener set_window_type; |
143 | struct wl_listener set_hints; | ||
143 | struct wl_listener map; | 144 | struct wl_listener map; |
144 | struct wl_listener unmap; | 145 | struct wl_listener unmap; |
145 | struct wl_listener destroy; | 146 | struct wl_listener destroy; |