Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-07-01 11:00:30 +0300
committerCampbell Barton <campbell@blender.org>2022-07-01 11:06:20 +0300
commitccbf9ee48262c6078bcd10817f07c6e3f4bb9a25 (patch)
treeb71e78630e9a170bd2c7d2d161e3b0adc6d68b4f /intern/ghost/intern/GHOST_SystemWayland.h
parenteff62ea8abaccbaa8dab9c00e3780aaa873148d2 (diff)
Fix un-grab cursor positioning failing for Wayland
UI elements such as sliders & color picker set an un-grab location which GHOST/Wayland didn't implement.
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemWayland.h')
-rw-r--r--intern/ghost/intern/GHOST_SystemWayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.h b/intern/ghost/intern/GHOST_SystemWayland.h
index 7fe35146be0..4286aa9d183 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.h
+++ b/intern/ghost/intern/GHOST_SystemWayland.h
@@ -132,6 +132,7 @@ class GHOST_SystemWayland : public GHOST_System {
GHOST_TSuccess setCursorGrab(const GHOST_TGrabCursorMode mode,
const GHOST_TGrabCursorMode mode_current,
+ int32_t init_grab_xy[2],
wl_surface *surface);
/* WAYLAND direct-data access. */