summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-16 08:42:34 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-16 08:42:34 +1000
commite3f90f00fefcfba65d2387ac69f5e9aec2eb9883 (patch)
tree12adc078fd342df77ac82ad2955de7beca242ba0
parentFix urgency IPC events (diff)
downloadsway-e3f90f00fefcfba65d2387ac69f5e9aec2eb9883.tar.gz
sway-e3f90f00fefcfba65d2387ac69f5e9aec2eb9883.tar.zst
sway-e3f90f00fefcfba65d2387ac69f5e9aec2eb9883.zip
Implement xwayland urgency hint
-rw-r--r--sway/desktop/xwayland.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 11516673..9df7977d 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -297,6 +297,10 @@ static void handle_commit(struct wl_listener *listener, void *data) {
297 } 297 }
298 298
299 view_damage_from(view); 299 view_damage_from(view);
300
301 if (view->allow_request_urgent) {
302 view_set_urgent(view, (bool)xsurface->hints_urgency);
303 }
300} 304}
301 305
302static void handle_unmap(struct wl_listener *listener, void *data) { 306static void handle_unmap(struct wl_listener *listener, void *data) {