mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-27 21:58:16 +01:00
Implement xwayland urgency hint
This commit is contained in:
parent
f86087d78f
commit
e3f90f00fe
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue