Commit Graph

619 Commits

Author SHA1 Message Date
David Roundy
e062265b38 make it easier to define pure layouts. 2007-09-25 17:05:03 +00:00
David Roundy
9c35abaa46 Make a String description part of each Layout. 2007-09-24 18:57:53 +00:00
Andrea Rossato
ee39e7fdb8 broadcast a ReleaseResources before restarting 2007-09-24 19:39:15 +00:00
Andrea Rossato
e6fb743e5a Added LayoutMessages
This patch adds some more messages to manage layout: Hide is sent to
layouts in that are not visible anymore. ReleaseReasourses is sent
before a restart.
2007-09-24 19:35:13 +00:00
David Roundy
0b11d6666d update screens for new kind of StackSet. 2007-09-24 13:45:45 +00:00
David Roundy
4a7ec374d0 create default modifyLayout that ignores messages. 2007-09-23 11:52:19 +00:00
David Roundy
1c603ebc4b add layout selection back into core xmonad using LayoutSelection.
This is just a reimplementation of LayoutChoice.
2007-09-21 21:21:59 +00:00
David Roundy
3af0ccf73c make layouts preserved over restart 2007-09-21 20:43:16 +00:00
David Roundy
fe397edf4a move Layout into StackSet.
WARNING! This changes the format of StackSet, and
will definitely mess up your xmonad state, requiring
at minimum a restart!
2007-09-20 22:12:48 +00:00
David Roundy
70282f23dc add (unused) Layout to StackSet. 2007-09-20 21:28:43 +00:00
David Roundy
f3f12383f0 remove unneeded Ord constraint. 2007-09-20 21:05:27 +00:00
David Roundy
cb13207644 eliminate a few Eq a constraints in StackSet. 2007-09-20 21:01:43 +00:00
Spencer Janssen
eb1e38405d Pointfree Mirror and SomeLayout instances 2007-09-20 21:10:42 +00:00
Spencer Janssen
d43384cfc7 Use derived Show and Read instances for Mirror 2007-09-20 20:57:11 +00:00
David Roundy
197c834331 define readLayout to create a SomeLayout based on a set of possible layout types. 2007-09-20 18:15:06 +00:00
David Roundy
5f12ca0faa add Read instance to Layout. 2007-09-20 17:45:29 +00:00
David Roundy
b4929576e7 add Show instance to Layout 2007-09-20 16:12:08 +00:00
David Roundy
0e5f8b03e8 eliminate ugly OldLayout. 2007-09-20 15:52:37 +00:00
David Roundy
3f03dcb5c1 move Layout stuff into class (hokey first cut). 2007-09-14 21:59:59 +00:00
Don Stewart
bee79c83e6 add prop for 'differentiate' 2007-09-27 23:19:28 +00:00
Karsten Schoelzel
29a5256c10 document shiftWin 2007-09-27 13:42:05 +00:00
Don Stewart
6cff2dddcf new QC properties: floating a window is reversible, screens includes current screen 2007-09-27 22:04:31 +00:00
Don Stewart
d1ad738f6b Add 3 QC properties for focusMaster: local, idempotent, preserves invariant 2007-09-27 21:44:01 +00:00
Don Stewart
3b6bfbf54c no regents in xmonad license 2007-09-27 21:43:17 +00:00
Don Stewart
f8c0ae5407 note that we use pattern guards in the .cabal file 2007-09-27 21:42:30 +00:00
Don Stewart
f1aa00f96f Add StackSet.focusMaster (mod-m) to move focus to master 2007-09-27 21:39:37 +00:00
Don Stewart
5e943d512c use hPrint instead of hPutStrLn 2007-09-27 21:39:01 +00:00
Spencer Janssen
019315e70c Split float up 2007-09-24 09:06:06 +00:00
Spencer Janssen
bc525b79e3 Use the new StackSet.screens in windows 2007-09-24 09:05:23 +00:00
Spencer Janssen
f67ebbf495 Add StackSet.screens 2007-09-24 09:04:25 +00:00
Don Stewart
3060c36d00 fmt, and tiny comment seeking clarification 2007-09-17 23:46:58 +00:00
Spencer Janssen
c6f346f887 Eliminate Operations.sink too 2007-09-17 21:40:52 +00:00
Spencer Janssen
e87a111a50 Remove Operations functions which have StackSet equivalents, just use 'windows foo' instead 2007-09-17 21:19:53 +00:00
Alex Tarkovsky
3b5ca225f6 Change manpage token @@ to %! to avoid conflicts with Haddock (xmonad) 2007-09-16 23:52:29 +00:00
Spencer Janssen
46ef80ad06 Haddockify delete' comments 2007-09-17 19:41:14 +00:00
Karsten Schoelzel
b72c096bc6 Fix float behaviour, add shiftWin.
First, if float is called with window which is on a hidden workspace,
then the window will remain on that hidden workspace.

Now the focus should change more as expected:
float w = (view current) . (shiftWin ws w)
    where
        current is the current screen/workspace
        shiftWin ws w is: - view the workspace w is on
            - set focus on w
            - shift ws
            - set focus back to window it was on that workspace
                unless w was focused

shiftWin was add to StackSet.hs
2007-09-10 09:03:29 +00:00
Karsten Schoelzel
0842194940 Add delete' for use in shift
Rename delete to delete' so we can clear floating status in delete,
thus removing one special handling. 
At the moment delete' is only used in shift, but is useful for temporarily
removing a window from the stack.
2007-09-10 11:38:35 +00:00
Don Stewart
2b207a28ef update description field of cabal file 2007-09-16 02:30:16 +00:00
Don Stewart
54af88d5f6 pointfree looks nicer here 2007-09-11 05:19:28 +00:00
Spencer Janssen
b6f00e9aab Remove redundant reveal 2007-09-10 21:38:07 +00:00
Alex Tarkovsky
874a4264c3 Add missing insert markers for generate-configs.sh in Config.hs 2007-09-07 12:04:14 +00:00
Karsten Schoelzel
6898a0e583 Move lower boundary check into applySizeHints, because all users of applySizeHints
do this manually.
2007-09-05 19:21:25 +00:00
Ivan Tarasov
f668b6238a export getAtom from XMonad. 2007-08-25 17:41:56 +00:00
Spencer Janssen
bccf8dd5f8 Use show rather than string hacks 2007-09-05 20:28:16 +00:00
David Roundy
41e3b073c8 switch WorkspaceId to String. 2007-08-20 11:36:58 +00:00
Spencer Janssen
82dd5b8119 Alex Tarkovsky's docstring patch updated for conflicts 2007-09-05 19:35:58 +00:00
Don Stewart
1fb52ce2cc tasks done 2007-09-05 00:49:01 +00:00
Spencer Janssen
dede0a2ce9 README: spelling v0.3 2007-09-04 19:30:42 +00:00
Spencer Janssen
74441202a0 Bump version to 0.3 2007-09-04 19:28:41 +00:00
Spencer Janssen
bda704297c Add a link to XMonadContrib 2007-09-04 19:27:59 +00:00