aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2019-11-30 16:12:54 +0100
committerSimon Ser <contact@emersion.fr>2019-12-01 12:44:07 +0100
commit57f615e122fc0c4d4d5665f7e26c276be6b3ee00 (patch)
treeaf3c749e1edd37f1b7ea20e1b71e80348b53f619 /sway/desktop
parent6968fb3123e69f563cd01d472967a9e6ddca2ec1 (diff)
output: Replace block_idle_frame with frame_pending
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 266ca7fe..6c78e08d 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -513,7 +513,7 @@ int output_repaint_timer_handler(void *data) {
return 0;
}
- output->wlr_output->block_idle_frame = false;
+ output->wlr_output->frame_pending = false;
struct sway_workspace *workspace = output->current.active_workspace;
if (workspace == NULL) {
@@ -618,7 +618,7 @@ static void damage_handle_frame(struct wl_listener *listener, void *user_data) {
if (delay < 1) {
output_repaint_timer_handler(output);
} else {
- output->wlr_output->block_idle_frame = true;
+ output->wlr_output->frame_pending = true;
wl_event_source_timer_update(output->repaint_timer, delay);
}