[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm 2399a0b 2/3: Fix cursor warping conditional for cu
From: |
Chris Feng |
Subject: |
[elpa] externals/exwm 2399a0b 2/3: Fix cursor warping conditional for cursor left of frame |
Date: |
Sun, 2 Sep 2018 06:28:43 -0400 (EDT) |
branch: externals/exwm
commit 2399a0bb227e39ac3896a5cad15f3e2194438af5
Author: James Ferguson <address@hidden>
Commit: Chris Feng <address@hidden>
Fix cursor warping conditional for cursor left of frame
---
exwm-workspace.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 4d82ae5..a4454d1 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -610,7 +610,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