mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
Fix cursor warping conditional for cursor left of frame
This commit is contained in:
parent
2b1ed2ce70
commit
f00e02e4f5
1 changed files with 3 additions and 1 deletions
|
@ -609,7 +609,9 @@ for internal use only."
|
|||
(make-instance 'xcb:QueryPointer
|
||||
:window (frame-parameter frame
|
||||
'exwm-outer-id)))
|
||||
(when (or (> win-x (frame-pixel-width frame))
|
||||
(when (or (< win-x 0)
|
||||
(< win-y 0)
|
||||
(> win-x (frame-pixel-width frame))
|
||||
(> win-y (frame-pixel-height)))
|
||||
(xcb:+request exwm--connection
|
||||
(make-instance 'xcb:WarpPointer
|
||||
|
|
Loading…
Reference in a new issue