Spencer Janssen
f1a0796da3
Decouple the concepts of focus and window order. First step to tiling!
2007-03-20 05:11:24 +00:00
Jason Creighton
226f2012cb
trace wsOnScreen when it's changed
2007-03-19 03:56:29 +00:00
Jason Creighton
92a8ad32d4
don't try to change the current workspace based on an enterNotify event
2007-03-19 03:54:50 +00:00
Jason Creighton
7d7f0ca721
use "windows" in "unmanage"
2007-03-18 02:48:25 +00:00
Jason Creighton
48974f51e6
replaced "let Just x = ..." in view with "case ... of ..."
2007-03-18 00:55:25 +00:00
Jason Creighton
bb43b2ad6f
basic xinerama support (depends on Graphics.X11.Xinerama in X11-extras)
2007-03-17 23:49:04 +00:00
Spencer Janssen
397cdbda0e
Whitespace only
2007-03-16 19:49:50 +00:00
Spencer Janssen
2506e901f1
-Wall police
2007-03-16 02:22:01 +00:00
shae
e955d4dbc6
abstract out modMask for easy user configuration
2007-03-15 23:01:27 +00:00
Don Stewart
81eef69458
fiddling, comments
2007-03-12 01:40:29 +00:00
Don Stewart
5398895bf4
comments, move isRoot into XMonad
2007-03-12 01:23:50 +00:00
Don Stewart
511559958a
wibbles
2007-03-12 01:07:56 +00:00
Don Stewart
c5c7132e62
abstract out setfocus code a bit
2007-03-12 00:55:40 +00:00
Don Stewart
2365e68c6a
general refactor, and call xerrorhandler to ignore certain undetectable issues
2007-03-11 10:26:53 +00:00
Don Stewart
060a9d304f
initial support for Atom-based delete protocol. makes kill client work on firefox. Quitting though still leads to a bogus notify from firefox, for a closed window
2007-03-11 06:45:15 +00:00
Spencer Janssen
b83c10059f
thunk is now known as xmonad!
2007-03-10 07:03:20 +00:00
Don Stewart
5ddd9351dc
XMonad
2007-03-10 07:01:52 +00:00
Don Stewart
b5ab851d2b
add tracing for kill window
2007-03-10 06:21:54 +00:00
Spencer Janssen
38afc2327a
Use 9 workspaces by default
2007-03-10 04:11:14 +00:00
Spencer Janssen
5afd9dbc20
Reduce flicker on workspace change.
2007-03-10 04:10:21 +00:00
Don Stewart
df7caf7213
Add support for Enter/Leave notify events. Fixes firefox on my machine
2007-03-10 03:27:59 +00:00
Don Stewart
f0830db81c
refactor, trying to seperate out IO from W stuff, in order to QC the handler at some point
2007-03-10 01:29:40 +00:00
Don Stewart
a78c857719
notes on the firefox bug
...
basically we have to set focus ourselves. This means when we start
managing a window, and when an XCrossingEvent occurs (which we don't
handle).
On Manage/Enter, we set focus. on Leave we set focus to root.
See event.c and focus.c in dwm for more details.
2007-03-09 16:25:10 +00:00
Don Stewart
6d613c7cc4
whitespace. and note if we get a config request for an already managed window
2007-03-09 14:43:08 +00:00
Don Stewart
1ca37d5385
improved grabkeys (also handle lockMask down)
2007-03-09 13:42:11 +00:00
Don Stewart
b63af49180
alloc the event space only once
2007-03-09 13:41:49 +00:00
Don Stewart
7646f72e45
also select for enter and leave window events (need for XCrossing?)
2007-03-09 13:12:51 +00:00
Don Stewart
f1905e2699
we should check for OverrideRedirect on initial scan too
2007-03-09 13:06:08 +00:00
Don Stewart
f77f0ae32c
little bit of strictness, based on -prof output
2007-03-09 06:34:49 +00:00
Don Stewart
03366b9303
-12 lines, refactor
2007-03-09 06:01:39 +00:00
Don Stewart
0c4eae0317
refactor, -10 or so loc
2007-03-09 05:54:17 +00:00
Don Stewart
7e2caa4707
simplify StackSet api even further (-15 loc)
2007-03-09 04:17:07 +00:00
Don Stewart
78407a3c26
use new StackSet api
2007-03-09 03:56:15 +00:00
Don Stewart
dcfd566287
comments
2007-03-09 03:18:47 +00:00
Don Stewart
6fe1daf96d
handle MappingNotifyEvent properly, and missing test in MapRequestEvent. firefox still won't take the keyboard though
2007-03-09 03:06:44 +00:00
Don Stewart
131aad3ce4
stub for MappingNotifyEvent, based on dwm. But the X11-extras binding for this event needs doing (sjanssen?)
2007-03-08 13:05:17 +00:00
Don Stewart
39f52d8fa8
refactoring. heads up: depends on withServer in X11-extras
2007-03-08 12:26:13 +00:00
Don Stewart
8fafb7f5e7
move W -> WMonad
2007-03-08 12:05:36 +00:00
Don Stewart
87312a91b2
Switch to using abstract StackSet data type. Most workspace logic moved into StackSet.hs
2007-03-08 11:43:08 +00:00
Don Stewart
4677b20814
cleanup only
2007-03-08 02:19:01 +00:00
Spencer Janssen
d280e17ab7
Make the number of workspaces configurable.
2007-03-08 04:36:14 +00:00
Spencer Janssen
9a5523d53c
Print a message for unhandled events
2007-03-08 01:32:49 +00:00
Spencer Janssen
160f07a47c
Manage windows that are created before thunk starts
2007-03-07 21:01:17 +00:00
Don Stewart
dda3f2c07a
Add Alt-Shift-[1..5], to move the current client to a new workspace
2007-03-08 01:04:24 +00:00
Don Stewart
aacf70eb46
cleaner implementation of 'view'. Only hide the current list. And shortcut if we try to move to the same screen. No flicker
2007-03-08 00:21:34 +00:00
Don Stewart
d373177a1f
Fill in missing workspace code
...
How do we manage workspaces? thunk keeps a list of window lists,
corresponding each window stack on each workspace. When you switch views
to a different workspace it moves all windows off the screen (2*w)
(2*h), and then moves back those in the current list. There's some
screen flicker, we could probably be smarter about this.
2007-03-08 00:07:29 +00:00
Don Stewart
c6ddcd6dcd
Add support for multiple workspaces
...
Everything is in place for multiple workspaces, bar one thing:
the view function. It updates thunk's idea of the current visible
windows, but I don't know how to tell X to hide the current set, and
instead treat the new window list as the only ones visible.
See notes for 'view' at bottom of Main.hs. If we can, say, switch to a
new workspace, which is empty, 'refresh' should spot this only display
the root window.
2007-03-07 11:12:47 +00:00
Don Stewart
3aecf4dcdc
-Wall police. and strip the binary
2007-03-07 07:49:10 +00:00
Don Stewart
800b974c6b
fmt. and use a Map for keycode lookup
2007-03-07 07:42:48 +00:00
Spencer Janssen
3ca6985525
xKillClient -> killClient
2007-03-07 07:30:10 +00:00