Don Stewart
a37193f2a6
add license headers to two missing files
2007-04-11 08:10:42 +00:00
Don Stewart
85a20da22c
clean up tiling code a teensy bit, and comment on the interaction between focus, master, and cycling direction between the modes
2007-04-11 08:07:47 +00:00
Don Stewart
56c4a62468
explain what mod-return now does. it cycles
2007-04-11 07:36:36 +00:00
Don Stewart
e9597b4899
Change semantics of 'promote'.
...
Previously 'promote' would move the currently focused window into the
master position in tiled mode. This was *almost* a cycle of the windows,
but not quite (depending on where the focus was, it was in fact a
cycle).
Now we do the obvious generalisation, and just cycle the current window
stack. Simpler to understand, simpler to reason about.
2007-04-11 07:34:56 +00:00
Don Stewart
3e7b23030c
clean up only
2007-04-11 06:56:07 +00:00
Don Stewart
10a9f73be8
merge with toList/fromList patch
2007-04-11 06:09:47 +00:00
Don Stewart
c490333d12
Statically distinguish Workspace and Screen indices
2007-04-11 06:04:56 +00:00
Jason Creighton
c6dcc9d869
fromList/toList have # of screens + another QC property
2007-04-11 04:42:15 +00:00
Jason Creighton
ac913104a5
Xinerama screen switching bugfix
2007-04-11 04:16:15 +00:00
Jason Creighton
b35bb69490
removed xinerama-enabled dmenu action
...
I don't think we're going to see any Xinerama support upstream, at least not
anytime soon. It doesn't make sense to ship something with xmonad that isn't
going to work out of the box. So for now Xinerama users should just use this
patch: http://www.jcreigh.com/xmonad/xinerama-dmenu.html
2007-04-11 02:47:16 +00:00
Spencer Janssen
be223c35f4
Move workspace fetching logic from Config.hs to Operations.hs
2007-04-10 06:47:14 +00:00
Jason Creighton
0c95f0c143
moved screen <-> workspace mapping from XMonad to StackSet
2007-04-10 06:27:31 +00:00
Spencer Janssen
90547f9e21
Add notes about StackSet redesign
2007-04-10 02:12:38 +00:00
Spencer Janssen
83600d109e
Simplify rot
2007-04-09 22:35:00 +00:00
Spencer Janssen
ae262e09cc
Rearrange TODO
2007-04-09 07:58:17 +00:00
Spencer Janssen
6e590e698a
Also done
2007-04-09 07:50:29 +00:00
Spencer Janssen
29aa3970cb
Tile algorithm has been improved
2007-04-09 07:49:45 +00:00
Spencer Janssen
97ed325a84
Vertical tiling done
2007-04-09 07:48:53 +00:00
Spencer Janssen
71b897b595
Remove redundant parens
2007-04-09 07:38:36 +00:00
Spencer Janssen
a99841e554
Remove unused 'screen' field
2007-04-09 07:35:10 +00:00
Spencer Janssen
8c88e102b4
Document XState fields
2007-04-09 07:34:14 +00:00
Don Stewart
a0f7df2fa6
Use -funbox-strict-fields, rather than UNPACK pragmas. cleaner code.
2007-04-09 07:23:02 +00:00
Spencer Janssen
384a30b7ae
Remove redundant setFocus, setFocus is called by refresh which is called by windows
2007-04-05 21:58:32 +00:00
Don Stewart
24930dae04
-Wall police
2007-04-05 00:01:00 +00:00
Jason Creighton
0864672d54
take window borders into account when resizing (requires latest X11-extras)
2007-04-04 02:16:12 +00:00
Don Stewart
89dbd331dc
summarise key bindings in a table in Config.hs
2007-04-04 01:14:41 +00:00
Don Stewart
0ba47579c9
replace multiple gets with a single get and record bind
2007-04-04 01:05:24 +00:00
Spencer Janssen
3a592d2df8
Use Tall and Wide for split screen layouts. This should be less confusing.
2007-04-03 05:06:10 +00:00
Alec Berryman
a629ed1176
Abusing TODO as a bug tracker: note about overlapping
2007-04-02 22:29:56 +00:00
Alec Berryman
8c58c998db
Comment typo: more -> move
2007-04-02 22:19:48 +00:00
Alec Berryman
46587a0a87
Note the Xinerama bugs I've experienced in the TODO
2007-04-02 16:08:02 +00:00
Jason Creighton
3b36be5055
vertical (master area on top) tiling
2007-04-03 04:06:58 +00:00
Spencer Janssen
4b91b535ff
Comment typo.
2007-04-02 21:46:05 +00:00
Spencer Janssen
4a912c8613
Comment only.
2007-04-02 07:24:18 +00:00
Spencer Janssen
93be71bb88
Revert to the old layout code.
2007-04-02 04:51:14 +00:00
Alec Berryman
8d1deb69eb
Type error: lockMask :: KeyMask, not KeySym
...
Error prevents compilation on 64-bit systems.
2007-04-01 14:34:16 +00:00
Alec Berryman
14282027e6
Suggest an alternative modMask for emacs users
2007-04-01 16:10:27 +00:00
Alec Berryman
df4bda60ff
Remove trailing spaces, no content changed
2007-04-01 14:45:39 +00:00
Alec Berryman
b3fc66b15b
Fix type error in dimensions field of XState record for 64-bit systems
...
Fallout from Int->CInt conversion.
2007-04-01 14:42:29 +00:00
Jason Creighton
b4076c2ac2
Config.hs comment formatting/typo
2007-04-01 05:57:11 +00:00
Jason Creighton
b22432a8b3
"dmenu" operation to spawn dmenu only on the current screen (for Xinerama)
...
This requires a dmenu that will accept -x and -w. Currently, This means
applying this patch: http://www.jcreigh.com/dmenu/position-options.patch (I'm
trying to see if I can get this into dmenu upstream; haven't heard anything
back yet.)
2007-04-01 01:27:12 +00:00
Don Stewart
bb1c1cf062
sanitize key bindings
...
Changes mean:
* gmrun is like the dmenu key, but with shift set.
- , ((modMask .|. shiftMask, xK_F11 ), spawn "gmrun")
+ , ((modMask .|. shiftMask, xK_p ), spawn "gmrun")
If no one actually uses both gmrun and dmenu, we should consider only
using mod-p for this.
* restart is like quit, but with 'ctrl' set:
+ , ((modMask .|. shiftMask, xK_q ), io $ exitWith ExitSuccess)
+ , ((modMask .|. shiftMask .|. controlMask, xK_q ), io restart)
* revert to 'wer' ordering for xinerama screens:
- | (key, sc) <- zip [xK_e, xK_r, xK_t] [1..]
+ | (key, sc) <- zip [xK_w, xK_e, xK_r] [1..]
that's the only binding order that makes sense, since they're meant to
refer to screens 1 2 and 3, hence 'wer' (look at the keyboard to see why)
2007-04-01 03:35:22 +00:00
hughes
0bb46e09cb
Cleaned up layout a little bit
2007-04-01 02:36:39 +00:00
Don Stewart
cf91d8aa53
restore dwm-style keybindings. mod-shift-{j,k} resize in vert mode
2007-04-01 02:54:33 +00:00
hughes
1909c353b7
Merged things together with dons changes.
2007-04-01 02:18:46 +00:00
hughes
1768981f90
Config.hs avoids conflict with essential M-w Emacs shortcut.
2007-04-01 01:51:35 +00:00
hughes
10a0e21e00
Vertical/horizontal split, and resizability.
2007-04-01 01:47:06 +00:00
hughes
75187c4b41
Remove evil gmrun shortcut.
2007-03-30 14:45:58 +00:00
Don Stewart
b3dbe98e64
formatting only
2007-04-01 00:47:26 +00:00
Don Stewart
93cf0950e8
formatting fixes. the style is getting a bit dodgy in some places...
2007-04-01 00:28:03 +00:00