diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-16 08:42:34 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-16 08:42:34 +1000 |
commit | e3f90f00fefcfba65d2387ac69f5e9aec2eb9883 (patch) | |
tree | 12adc078fd342df77ac82ad2955de7beca242ba0 /sway/desktop/xwayland.c | |
parent | f86087d78f25575ddadaa4d3496b34e62b545d2e (diff) |
Implement xwayland urgency hint
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 4 |
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) { } view_damage_from(view); + + if (view->allow_request_urgent) { + view_set_urgent(view, (bool)xsurface->hints_urgency); + } } static void handle_unmap(struct wl_listener *listener, void *data) { |