Karsten Schoelzel
808894c217
QuickCheck filter preserves order
2007-07-28 18:45:34 +00:00
Karsten Schoelzel
84c6432c82
Bugfix: reordering when filtering out the last window on a workspace
...
Say you have three windows A B C* on a workspace with * marking the focus.
If you close C or move it to another workspace, the resulting order will be B* A,
thus reordering the other windows, defying the comment of filter.
2007-07-28 13:25:07 +00:00
Spencer Janssen
bf4388e3aa
shift: use guards instead of if
2007-07-24 15:23:40 +00:00
Spencer Janssen
cc3527a975
Remove unnecessary Integral constraints
2007-07-24 15:22:57 +00:00
David Roundy
9a2f57552e
make delete work when window is in multiple workspaces.
2007-07-24 14:20:45 +00:00
Spencer Janssen
189c2d31f9
Remove redundant 'n >= 0' check from shift. (from David Roundy's 'simplify shift, removing unneeded check.' patch)
2007-07-24 14:59:27 +00:00
Michael G. Sloan
5068bd27f0
Cleanup of shift code
2007-07-22 20:53:37 +00:00
Don Stewart
fc70bed46b
use $HOME in examples
2007-07-19 06:33:48 +00:00
Peter De Wachter
d0482810b3
Tweak dmenu binding
...
Add an "eval", so quotes and environment variables get evaluated
according to sh rules.
2007-07-17 19:07:22 +00:00
Jason Creighton
c146940154
restore focus to currently focused window after "float" ( closes #32 )
2007-07-10 04:26:31 +00:00
Spencer Janssen
bfd638d818
Operations.screenWorkspace: return Nothing when the screen does not exist
2007-07-07 22:38:42 +00:00
Spencer Janssen
a48ec57cd9
Operations.rescreen: screen indexes start at zero
2007-07-07 22:33:34 +00:00
Spencer Janssen
54c024583f
Note and workaround bugs in Operations.float
2007-07-05 19:52:13 +00:00
Spencer Janssen
2efa369dfc
refresh after starting
2007-06-30 05:03:46 +00:00
Spencer Janssen
e74e8050d0
UPGRADE X11-Extras! Manage iconified windows
2007-06-30 02:10:26 +00:00
Spencer Janssen
ab830ec227
Move screen details into StackSet
2007-06-29 21:39:17 +00:00
Jason Creighton
bb12b08239
Change a window's workspace when dragging across screens ( closes #30 )
2007-06-28 02:50:23 +00:00
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