mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Partially revert ddc9047
...to just call wlr_scene_output_commit() as was previously the case and thus avoid freezing screens reported by a number of users. Fixes: #1273
This commit is contained in:
parent
1149b31c7f
commit
b05b5ba0cf
1 changed files with 5 additions and 5 deletions
|
|
@ -63,12 +63,12 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lab_wlr_scene_output_commit(output->scene_output)) {
|
wlr_scene_output_commit(output->scene_output, NULL);
|
||||||
|
|
||||||
struct timespec now = { 0 };
|
struct timespec now = { 0 };
|
||||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||||
wlr_scene_output_send_frame_done(output->scene_output, &now);
|
wlr_scene_output_send_frame_done(output->scene_output, &now);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
output_destroy_notify(struct wl_listener *listener, void *data)
|
output_destroy_notify(struct wl_listener *listener, void *data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue