aboutsummaryrefslogtreecommitdiff
path: root/xdeadzone.rst
diff options
context:
space:
mode:
Diffstat (limited to 'xdeadzone.rst')
-rw-r--r--xdeadzone.rst22
1 files changed, 12 insertions, 10 deletions
diff --git a/xdeadzone.rst b/xdeadzone.rst
index 20e9c90..ea80766 100644
--- a/xdeadzone.rst
+++ b/xdeadzone.rst
@@ -20,7 +20,7 @@ keep the mouse pointer out of the dead zone, on mismatched multihead displays.
SYNOPSIS
========
-xdeadzone [**-nw** | **-ne** | **-sw** | **-se** | **-abs** *x-position* *y-position*] *width* *height*
+xdeadzone [**-nw** | **-ne** | **-sw** | **-se** | **-abs**] *geometry*
xdeadzone **--help** | **--version**
@@ -70,15 +70,17 @@ OPTIONS
**-se**
Place window at southeast (bottom right) corner of display.
-**-abs** *x-position* *y-position*
- Place window at the given coordinates. Negative numbers will be
- treated as offsets from the right/bottom of the display.
+**-abs**
+ Place window at the coordinates given by **geometry**.
-**width**
- Width of the dead zone. Required; must be a positive integer.
+**geometry**
+ This is a standard X11 geometry specification. Its format is
+ <*width*>x<*height*> for all modes other than **--abs**. For **--abs**,
+ it's <*width*>x<*height*>[*+-*]<*xpos*>[*+-*]<*ypos*>.
+ Negative xpos and ypos will be
+ treated as offsets from the right/bottom of the display.
-**height**
- Height of the dead zone. Required; must be a positive integer.
+ Examples: **200x100**, **64x64-0-0**, **50x60+100+100**.
ENVIRONMENT
===========
@@ -108,7 +110,7 @@ obvious what happened to it.
To avoid losing the pointer, you can run this::
- xdeadzone -se 1280 56 &
+ xdeadzone -se 1280x56 &
...from your ~/.xinitrc (or whatever you use to run commands at X startup).
@@ -117,7 +119,7 @@ with the 1280x1024 one on top, you'll have a 640x1024 vertical strip
of 'dead zone' beyond the right edge of the top monitor. To avoid
losing the mouse there::
- xdeadzone -ne 640 1024 &
+ xdeadzone -ne 640x1024 &
If the dead zone were on the left of the top monitor, you'd use **-nw** instead
of **-ne**.