aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2020-12-11 10:55:33 +0100
committerGuido Cella <guido@guidocella.xyz>2020-12-20 14:57:41 +0100
commit444a5f9dec52161f61d8a42644f7b6625d9aabcd (patch)
tree47fb7933fcedf273c3a287b277942aba576bf044
parent6b47e2bb621dfba333fb9bd9839b8128c88e58c2 (diff)
enable adaptive sync
The comment in this function's declaration says the backend is free to ignore this setting, so maybe there's no need to make it configurable?
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 39c2bf1..773e04a 100644
--- a/dwl.c
+++ b/dwl.c
@@ -848,6 +848,7 @@ createmon(struct wl_listener *listener, void *data)
break;
}
}
+ wlr_output_enable_adaptive_sync(wlr_output, true);
/* Set up event listeners */
m->frame.notify = rendermon;
wl_signal_add(&wlr_output->events.frame, &m->frame);