Spencer Janssen
8a8c538c23
Eliminate defaultTerminal
2007-11-01 07:31:47 +00:00
Spencer Janssen
e50927ffc0
Store user configuration in XConf
2007-11-01 07:23:08 +00:00
Spencer Janssen
3789f37f25
This is a massive update, here's what has changed:
...
* Read is no longer a superclass of Layout
* All of the core layouts have moved to the new Layouts.hs module
* Select has been replaced by the new statically typed Choose combinator,
which is heavily based on David Roundy's NewSelect proposal for
XMonadContrib. Consequently:
- Rather than a list of choosable layouts, we use the ||| combinator to
combine several layouts into a single switchable layout
- We've lost the capability to JumpToLayout and PrevLayout. Both can be
added with some effort
2007-11-01 06:43:18 +00:00
David Roundy
48ccbc7fb2
cleaner version of main/config inversion.
2007-10-29 18:48:23 +00:00
David Roundy
7b3c1243b7
make xmonad work with inverted main/config.
2007-10-18 17:00:58 +00:00
David Roundy
97fe14dfd2
sketch of config/main inversion.
2007-10-18 16:42:30 +00:00
Spencer Janssen
bd6a52e587
Clean up trailing whitespace
2007-10-15 02:23:22 +00:00
Don Stewart
775172983b
clean up names of layout code
2007-10-13 20:43:00 +00:00
Spencer Janssen
d610407cf8
Respect ExitExceptions, fixes a regression where exitWith had no effect
2007-10-12 15:28:01 +00:00
Spencer Janssen
1f625a6c0d
Add userCode function for the popular m catchX
return ()
2007-10-12 01:42:17 +00:00
David Roundy
1eaee82e85
catch exceptions when calling user-written code.
...
This is a minimal approach that only catches error
in actual user-written code.
2007-10-12 01:33:05 +00:00
David Roundy
6d7307030a
fix one last bug w.r.t. issue 55.
2007-10-12 01:05:09 +00:00
Don Stewart
6c94b3b217
more comments
2007-10-06 15:43:51 +00:00
Christian Thiemann
c66ff8335e
Add event handler for PropertyNotifyEvent that calls logHook if window title changed
2007-10-06 17:54:58 +00:00
Don Stewart
053f1adb7c
avoid name class with forever in 6.8
2007-10-06 10:35:30 +00:00
Spencer Janssen
e0bcad162f
Comment only
2007-10-05 03:44:45 +00:00
Spencer Janssen
b07e334405
Move grabButtons/Keys into X
2007-10-05 03:41:02 +00:00
Spencer Janssen
c237441003
Make WindowSet serialization robust to layout changes
2007-10-05 00:00:31 +00:00
Spencer Janssen
8b3dc01e53
Operations.windows is responsible for setting initial properties, remove redundant code from Main
2007-10-01 17:06:28 +00:00
Aaron Denney
ff1918ad20
On change of keyboard mapping, grabKeys from the root window.
2007-09-29 22:47:55 +00:00
David Roundy
5ef7c5f5d0
define defaultLayout in Config.hs.
2007-09-28 02:02:08 +00:00
David Roundy
f1c1e982a2
merge old workspace tags with new on restart.
2007-09-26 18:33:09 +00:00
David Roundy
9c35abaa46
Make a String description part of each Layout.
2007-09-24 18:57:53 +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
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
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
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
Don Stewart
6a273c2afa
-Wall police
2007-08-16 03:31:32 +00:00
David Roundy
ec0995a3a6
change workspaces to [WorkspaceId]
2007-08-14 00:37:22 +00:00
Spencer Janssen
447d662d1d
Cleanup
2007-08-10 21:39:40 +00:00
David Roundy
fae3cbebb1
move event loop out of mouseDrag.
2007-08-07 20:16:16 +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
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
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
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
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
Spencer Janssen
d21e61a315
TODO for scan
2007-06-11 21:42:17 +00:00
Jason Creighton
854d3239cc
comment only
2007-06-11 02:02:49 +00:00
David Roundy
c8b6388fb8
a few modifications to event-sending to make Tabbed layout work.
2007-06-10 15:38:36 +00:00
David Roundy
ab6f210300
implement Spencer's decoration suggestion.
2007-06-10 01:22:37 +00:00
Andrea Rossato
e1885f27e1
haddock compatibility
2007-06-10 12:37:46 +00:00
Don Stewart
6365601c77
Move state logging into Config.hs, via logHook :: X ()
2007-06-10 06:19:32 +00:00
Stefan O'Rear
1c3931a0d6
Give refresh sole responsibility for establishing window properties (-3 loc)
2007-06-09 18:58:35 +00:00
Stefan O'Rear
7706f38dc8
Give refresh sole responsibility for establishing window properties (-3 loc)
2007-06-09 18:58:35 +00:00
Don Stewart
0ada17c34a
HEADS UP: (logging format change). use a custom pretty printer, for an easier format to parse, than 'show' produces
2007-06-09 13:17:16 +00:00