mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
tree/view: send event unconditionally in view_send_frame_done()
Previously, we were using wl_signal_emit_mutable() directly instead
of wlr_scene_buffer_send_frame_done(). This bypassed any visibility
checks, which matters before a surface is mapped.
Fixes flickering with an invalid size when launching new programs.
Fixes: eb8acfd7b1 ("Stop using wlr_scene_buffer_send_frame_done()")
This commit is contained in:
parent
170c9c9525
commit
c2f08075ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1253,7 +1253,7 @@ static void send_frame_done_iterator(struct wlr_scene_buffer *scene_buffer,
|
||||||
if (scene_surface == NULL) {
|
if (scene_surface == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
wlr_scene_surface_send_frame_done(scene_surface, when);
|
wlr_surface_send_frame_done(scene_surface->surface, when);
|
||||||
}
|
}
|
||||||
|
|
||||||
void view_send_frame_done(struct sway_view *view) {
|
void view_send_frame_done(struct sway_view *view) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue