mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
Implement xwayland urgency hint
This commit is contained in:
parent
f86087d78f
commit
e3f90f00fe
@ -297,6 +297,10 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
view_damage_from(view);
|
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) {
|
static void handle_unmap(struct wl_listener *listener, void *data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user