resizing serial

This commit is contained in:
2026-04-23 10:47:42 +07:00
parent 30dbaced7a
commit f5b2e4e674
6 changed files with 25 additions and 15 deletions
+7
View File
@@ -11,8 +11,15 @@ void output_frame(struct wl_listener *listener, void *data)
struct wlr_scene_output *scene_output = wlr_scene_get_scene_output(scene, output->wlr_output);
struct absinthe_toplevel *toplevel;
wl_list_for_each(toplevel, &output->server->toplevels, link) {
if (toplevel->resizing && toplevel->output == output)
goto skip;
}
wlr_scene_output_commit(scene_output, NULL);
skip:
struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
wlr_scene_output_send_frame_done(scene_output, &now);