Commit Graph

529 Commits

Author SHA1 Message Date
David Roundy
61d7524bcd support self-modifying layouts. 2007-06-23 20:14:47 +00:00
Don Stewart
d0566a28be comment for (dubious?) integrate' 2007-06-26 05:24:31 +00:00
David Roundy
6f9a060118 broadcast unidentified events.
This change is independent of the doLayout change I just sent in, but fixes
the problem that change introduces in Decoration, by ensuring that all
Layouts get redraw events.  I think this is the correct behavior.
2007-06-23 21:41:25 +00:00
Don Stewart
dbdf0fd5e4 add 2 properties to state where focus goes on delete of focused window 2007-06-26 04:09:07 +00:00
Don Stewart
ce28fc1eb2 fix empty case in 'filter', and note differences in semantics wrt. focus to 'delete' 2007-06-26 03:57:41 +00:00
Don Stewart
977f8328fc clean up 'StackSet.filter' for style 2007-06-26 03:32:02 +00:00
Don Stewart
776886660b minor tweaks, ideas from joachim.fasting@ 2007-06-21 03:36:13 +00:00
Don Stewart
c6da7fc14a only perform mouse events on managed windows. closes #28 2007-06-21 01:17:00 +00:00
Spencer Janssen
e99d7431c8 Update Layout documentation 2007-06-20 15:08:58 +00:00
Spencer Janssen
5dea6605fc -Wall police 2007-06-20 15:08:23 +00:00
Spencer Janssen
6091bfd0fe Stack windows in the order they are returned by doLayout 2007-06-20 15:04:19 +00:00
Don Stewart
d411736ded remove out of date `(Included with GHC)' text in README 2007-06-20 06:04:30 +00:00
David Roundy
e517aedfa1 make Layouts able to layout whatever they like. 2007-06-19 15:08:16 +00:00
Peter De Wachter
b84a9b875b float fixed size windows 2007-06-18 21:46:57 +00:00
Spencer Janssen
33bb745880 Remove all references to 'exec' 2007-06-18 20:15:32 +00:00
Don Stewart
be08dd80ec -Wall police, and turn on -fno-warn-orphans 2007-06-17 05:23:22 +00:00
David Roundy
dbd58faffe make workspace tag not need to be a Num.
This change also removes the barely used 'size' field, and replaces
it with a tagMember predicate.  The idea is to move towards the ability
to make the workspace tag be a String, which by default might be "1".."9",
but could also be customized to be something meaningful to the user.
2007-06-14 14:07:09 +00:00
Spencer Janssen
a2c5aa3612 Fix float stacking 2007-06-14 21:34:12 +00:00
Spencer Janssen
fa2b56c14e Remove 'temporary work around' in 'windows' 2007-06-14 21:14:50 +00:00
Andrea Rossato
7d1a23698f haddock tuning for StackSet.hs
with this patch the documentation of StackSet.hs will have a nice TOC
2007-06-14 06:45:11 +00:00
Jason Creighton
8169445cbd move initColor to Operations and only store the Pixel value of colors
Moving initColor to Operations allows it to be used by extensions.

The Pixel component of the color is the only thing we need, so it's simpler
just to deal with that.
2007-06-13 23:45:01 +00:00
Andrea Rossato
753b42ae65 haddick fine tuning 2007-06-13 18:59:02 +00:00
Spencer Janssen
d1e4699944 Indentation 2007-06-13 04:30:18 +00:00
Jason Creighton
62344287da prevent keyboard focus from getting lost in some cases 2007-06-13 02:53:50 +00:00
David Roundy
8cdcceab48 resolve conflict in Operations. 2007-06-12 17:06:25 +00:00
David Roundy
194a934c37 add catchX to catch exceptions. 2007-06-12 15:42:53 +00:00
David Roundy
5f8202e79e make focus, up and down complete functions.
This is a rerun of my change to make (Stack a) never be empty.  Gives
us more type-safety.
2007-06-12 15:05:55 +00:00
David Roundy
4ffee115e1 add differentiate function to StackSet to go [a] -> Stack a. 2007-06-12 13:28:53 +00:00
Spencer Janssen
00e1038d71 Make 'view' a total function 2007-06-12 14:32:48 +00:00
Don Stewart
7158a58792 fmt 2007-06-12 13:49:38 +00:00
Stefan O'Rear
c0a9636f3b -Wall police 2007-06-12 06:05:46 +00:00
Stefan O'Rear
ff6b48382c Use a more descriptive name for the layout reversal message 2007-06-12 05:58:59 +00:00
Stefan O'Rear
bb9e46df6c Use broadcastMessage in windows and switchLayout, should improve Xinerama for tabbed and make xmonad robust in the presence of state-altering unlayout hooks 2007-06-12 05:55:10 +00:00
Stefan O'Rear
f68a954fc3 Add a broadcastMessage function, which sends to all visible workspaces without refreshing. (+6 loc) 2007-06-12 05:53:39 +00:00
Spencer Janssen
d21e61a315 TODO for scan 2007-06-11 21:42:17 +00:00
Spencer Janssen
4b9bacb1f9 Set withdrawn state after calling windows 2007-06-11 21:33:27 +00:00
Spencer Janssen
9992737e84 Remove obsolete 'layout' function 2007-06-11 20:36:22 +00:00
Spencer Janssen
615a4a1af1 -Wall police 2007-06-11 20:20:07 +00:00
Spencer Janssen
33447129dd Comment only 2007-06-11 19:58:27 +00:00
Spencer Janssen
14971546bb Hide windows that are not supposed to be visible 2007-06-11 19:18:09 +00:00
Spencer Janssen
6f7030f875 -Wall police 2007-06-11 18:57:08 +00:00
Spencer Janssen
4f5c307d6f API CHANGE: Give doLayout a Stack rather than a flattened list 2007-06-11 18:26:29 +00:00
Spencer Janssen
e7b37ca646 -Wall police 2007-06-11 18:01:23 +00:00
Spencer Janssen
5f3e91676a Add StackSet.filter 2007-06-11 16:51:54 +00:00
Spencer Janssen
b3bdbf3588 Use catchIO in 'restart' 2007-06-11 16:11:52 +00:00
Spencer Janssen
00b930b09e Rename safeIO to catchIO 2007-06-11 16:06:08 +00:00
David Roundy
0d17ca9436 add safeIO which catches and logs exceptions. 2007-06-11 15:36:50 +00:00
Spencer Janssen
b668133c08 Ensure windows get at least 1 pixel for width/height 2007-06-11 06:19:30 +00:00
Spencer Janssen
330179ea20 Restrict the master/slave ratio to [0, 1] 2007-06-11 05:32:30 +00:00
Jason Creighton
854d3239cc comment only 2007-06-11 02:02:49 +00:00