Report modifier key state when sending wheel events to the terminal program

This commit is contained in:
Kovid Goyal
2020-04-29 20:02:55 +05:30
parent b541341681
commit aa9c3cd634
11 changed files with 20 additions and 16 deletions

2
glfw/wl_init.c vendored
View File

@@ -334,7 +334,7 @@ static void pointerHandleAxis(void* data UNUSED,
else if (axis == WL_POINTER_AXIS_VERTICAL_SCROLL)
y = wl_fixed_to_double(value) * -1;
_glfwInputScroll(window, x, y, 1);
_glfwInputScroll(window, x, y, 1, _glfw.wl.xkb.states.modifiers);
}
static const struct wl_pointer_listener pointerListener = {