mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
rootston: damage tracking for wl_shell
This commit is contained in:
parent
a8cb02f585
commit
3f1c4f5be7
4 changed files with 83 additions and 2 deletions
|
|
@ -221,6 +221,7 @@ static void shell_surface_popup_set_parent(struct wlr_wl_shell_surface *surface,
|
|||
if (parent) {
|
||||
wl_list_remove(&surface->popup_link);
|
||||
wl_list_insert(&parent->popups, &surface->popup_link);
|
||||
wl_signal_emit(&parent->events.new_popup, surface);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -519,6 +520,7 @@ static void shell_protocol_get_shell_surface(struct wl_client *client,
|
|||
|
||||
wl_signal_init(&wl_surface->events.destroy);
|
||||
wl_signal_init(&wl_surface->events.ping_timeout);
|
||||
wl_signal_init(&wl_surface->events.new_popup);
|
||||
wl_signal_init(&wl_surface->events.request_move);
|
||||
wl_signal_init(&wl_surface->events.request_resize);
|
||||
wl_signal_init(&wl_surface->events.request_fullscreen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue