mirror of
https://github.com/swaywm/sway.git
synced 2026-04-16 08:21:30 -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
8c4439e98e
commit
7d7c553c99
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) {
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue