about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
authorJames Ferguson <wjcferguson@gmail.com>2018-08-28T12·47-0400
committerChris Feng <chris.w.feng@gmail.com>2018-09-02T08·18+0800
commitdd57c5eebb213c29c3b250634e316abf4917a19b (patch)
treebca5c396fe7678f08dc514fe29cc9d9918cea9eb /exwm-workspace.el
parent2399a0bb227e39ac3896a5cad15f3e2194438af5 (diff)
Explicitly specify frame for cursor warping conditional
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index a4454d10f0e1..31108892fe75 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -613,7 +613,7 @@ for internal use only."
         (when (or (< win-x 0)
                   (< win-y 0)
                   (> win-x (frame-pixel-width frame))
-                  (> win-y (frame-pixel-height)))
+                  (> win-y (frame-pixel-height frame)))
           (xcb:+request exwm--connection
               (make-instance 'xcb:WarpPointer
                              :src-window xcb:Window:None