Sync to monitor refreshes by default

Prevents tearing while scrolling. See #318

Reduce draw calls while processing mouse move events to make latency
while selecting with the mouse acceptable. Also add a config option to
turn off monitor syncing, so people with keyboard repeat rates higher
than their monitor's refresh rate can use it.
This commit is contained in:
Kovid Goyal
2018-02-20 09:38:00 +05:30
parent e6cb64baa5
commit 5a15f7e8ad
8 changed files with 23 additions and 10 deletions

View File

@@ -349,6 +349,7 @@ PYWRAP1(set_options) {
S(background, color_as_int);
S(repaint_delay, repaint_delay);
S(input_delay, repaint_delay);
S(sync_to_monitor, PyObject_IsTrue);
S(macos_option_as_alt, PyObject_IsTrue);
S(macos_hide_titlebar, PyObject_IsTrue);