Major churn for multi-headed support (Xrandr and plain multi-screen).

- workspaces now per-screen (X does not let you migrate windows)
- a screen has 1 or more regions (now mapped by Xrandr, later configurable)
- current_ws is dead, long live cur_focus
	- only one window has real focus, but workspaces keep track ws->focus
	- lots of places (especially event handlers) use cur_focus but should
	  identify the correct source of the event instead
- festival of pointer management to keep track of all this.
This commit is contained in:
Ryan McBride 2009-01-19 05:48:11 +00:00
parent 8c31749c46
commit 367ce80e69
2 changed files with 662 additions and 397 deletions

View file

@ -5,9 +5,9 @@ PROG=scrotwm
NOMAN=
#MAN=scrotwm.1
CFLAGS+= -Wall -Wno-uninitialized
CFLAGS+=-Wall -Wno-uninitialized
CPPFLAGS+= -I${X11BASE}/include
LDADD+=-lutil -L${X11BASE}/lib -lX11
LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr
MANDIR= ${X11BASE}/man/cat

1005
scrotwm.c

File diff suppressed because it is too large Load diff