about summary refs log tree commit diff
diff options
context:
space:
mode:
-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