Momentum scroll config should apply on X11 as well
This commit is contained in:
parent
027b73db64
commit
cac2c6d2f9
1 changed files with 3 additions and 1 deletions
|
|
@ -1354,7 +1354,9 @@ create_os_window(PyObject UNUSED *self, PyObject *args, PyObject *kw) {
|
|||
|
||||
static bool is_first_window = true;
|
||||
if (is_first_window) {
|
||||
if (global_state.is_wayland) glfwConfigureMomentumScroller(OPT(momentum_scroll), -1, -1, 0);
|
||||
#ifndef __APPLE__
|
||||
glfwConfigureMomentumScroller(OPT(momentum_scroll), -1, -1, 0);
|
||||
#endif
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, OPENGL_REQUIRED_VERSION_MAJOR);
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, OPENGL_REQUIRED_VERSION_MINOR);
|
||||
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue