mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-11 19:15:39 +00:00
[client] wayland: don't create confines on uncapture without wl_pointer
This commit is contained in:
parent
194afa2d75
commit
94684324f4
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ void waylandUncapturePointer(void)
|
|||
*/
|
||||
if (!wlWm.warpSupport || !app_isFormatValid() || app_isCaptureOnlyMode())
|
||||
internalUngrabPointer(false);
|
||||
else
|
||||
else if (wlWm.pointer)
|
||||
{
|
||||
wlWm.confinedPointer = zwp_pointer_constraints_v1_confine_pointer(
|
||||
wlWm.pointerConstraints, wlWm.surface, wlWm.pointer, NULL,
|
||||
|
|
Loading…
Add table
Reference in a new issue