-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
55 lines (35 loc) · 1.52 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
_ _ _ _
__ ___ __ ___ (_)_ __ | |_ ___ _ __| |__ __ _ _ __ _ __(_) ___ _ __
\ \/ / '_ \ / _ \| | '_ \| __/ _ \ '__| '_ \ / _` | '__| '__| |/ _ \ '__|
> <| |_) | (_) | | | | | || __/ | | |_) | (_| | | | | | | __/ |
/_/\_\ .__/ \___/|_|_| |_|\__\___|_| |_.__/ \__,_|_| |_| |_|\___|_|
|_|
https://uninformativ.de/git/xpointerbarrier
https://uninformativ.de/bugs.html
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This program creates four pointer barriers around each XRandR screen,
thus effectively jailing your mouse pointer to one physical screen.
Pointer barriers are mostly useful when there is more than one physical
screen connected to your computer. Properly placed barriers can then
make you feel like you're sitting in front of only one screen: When you
throw your mouse in the upper right corner, it does not suddenly switch
to another monitor.
See also:
http://who-t.blogspot.de/2012/12/whats-new-in-xi-23-pointer-barrier.html
Installation
------------
The following C libraries are required:
- libx11
- libxfixes
- libxrandr
The XFIXES extension must be available on your X server.
xpointerbarrier expects to be run on a POSIX-ish operating system.
To build the program and install it to /usr/local:
$ make
# make install
Running
-------
Simply run the program in your ~/.xinitrc:
$ xpointerbarrier 47 7 7 27
It's probably best to first configure your screens, then run the
program.