Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
08182fbe4d
1 changed files with 2 additions and 0 deletions
2
glfw/wl_init.c
vendored
2
glfw/wl_init.c
vendored
|
|
@ -137,6 +137,7 @@ static void pointerHandleLeave(void* data UNUSED,
|
|||
_glfw.wl.pointerSerial = serial;
|
||||
_glfw.wl.pointerFocus = NULL;
|
||||
_glfwInputCursorEnter(window, false);
|
||||
_glfw.wl.cursorPreviousShape = NULL;
|
||||
}
|
||||
|
||||
static void setCursor(GLFWCursorShape shape)
|
||||
|
|
@ -192,6 +193,7 @@ static void pointerHandleMotion(void* data UNUSED,
|
|||
window->wl.cursorPosX = x;
|
||||
window->wl.cursorPosY = y;
|
||||
_glfwInputCursorPos(window, x, y);
|
||||
_glfw.wl.cursorPreviousShape = NULL;
|
||||
return;
|
||||
case topDecoration:
|
||||
if (y < _GLFW_DECORATION_WIDTH)
|
||||
|
|
|
|||
Loading…
Reference in a new issue