mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2025-01-10 17:59:48 +01:00
rootston: Send frame_done for popups too
Thanks @emersion
This commit is contained in:
parent
421652a450
commit
57cc4c319d
1 changed files with 4 additions and 0 deletions
|
@ -379,6 +379,10 @@ static void layers_send_done(
|
||||||
wl_list_for_each(roots_surface, &output->layers[i], link) {
|
wl_list_for_each(roots_surface, &output->layers[i], link) {
|
||||||
struct wlr_layer_surface *layer = roots_surface->layer_surface;
|
struct wlr_layer_surface *layer = roots_surface->layer_surface;
|
||||||
wlr_surface_send_frame_done(layer->surface, when);
|
wlr_surface_send_frame_done(layer->surface, when);
|
||||||
|
struct wlr_xdg_popup *popup;
|
||||||
|
wl_list_for_each(popup, &roots_surface->layer_surface->popups, link) {
|
||||||
|
wlr_surface_send_frame_done(popup->base->surface, when);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue