diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-08 04:28:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-08 04:45:44 +0300 |
commit | b3e0101a35b2885212aa199335564dca98dc50cd (patch) | |
tree | b3abfadffb94fd05f9a7c51ec36b7859f70e0b63 /intern/ffmpeg | |
parent | 173a15bcda8f09f7028a1d9e3ae2d05e0b13ec06 (diff) |
GHOST/Wayland: non-wrapping grab no longer locks the cursor
Grab which didn't wrap would lock the cursor, making actions such
as resizing areas lock the cursor in-place.
Confine the cursor to the window instead.
This behavior was also used for X11 when grabbing the cursor was first
supported but could lock the system if Blender froze while grabbing so
it was disabled [0].
For Wayland this shouldn't be a problem as compositors implement grab
in a way that prevents the client from locking the system.
[0]: 3e3d2b7a4cfc38f673bdeb48707b95c7bd50049a
Diffstat (limited to 'intern/ffmpeg')
0 files changed, 0 insertions, 0 deletions