|
|
|
@ -2492,15 +2492,6 @@ static void lockedPointerHandleLocked(void* userData, |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void unlockPointer(_GLFWwindow* window) |
|
|
|
|
{ |
|
|
|
|
zwp_relative_pointer_v1_destroy(window->wl.relativePointer); |
|
|
|
|
window->wl.relativePointer = NULL; |
|
|
|
|
|
|
|
|
|
zwp_locked_pointer_v1_destroy(window->wl.lockedPointer); |
|
|
|
|
window->wl.lockedPointer = NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void lockedPointerHandleUnlocked(void* userData, |
|
|
|
|
struct zwp_locked_pointer_v1* lockedPointer) |
|
|
|
|
{ |
|
|
|
@ -2541,6 +2532,15 @@ static void lockPointer(_GLFWwindow* window) |
|
|
|
|
window); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void unlockPointer(_GLFWwindow* window) |
|
|
|
|
{ |
|
|
|
|
zwp_relative_pointer_v1_destroy(window->wl.relativePointer); |
|
|
|
|
window->wl.relativePointer = NULL; |
|
|
|
|
|
|
|
|
|
zwp_locked_pointer_v1_destroy(window->wl.lockedPointer); |
|
|
|
|
window->wl.lockedPointer = NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void confinedPointerHandleConfined(void* userData, |
|
|
|
|
struct zwp_confined_pointer_v1* confinedPointer) |
|
|
|
|
{ |
|
|
|
|