diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-01 11:00:30 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-01 11:06:20 +0300 |
commit | ccbf9ee48262c6078bcd10817f07c6e3f4bb9a25 (patch) | |
tree | b71e78630e9a170bd2c7d2d161e3b0adc6d68b4f /intern/ghost/intern/GHOST_SystemWayland.h | |
parent | eff62ea8abaccbaa8dab9c00e3780aaa873148d2 (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.h | 1 |
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. */ |