robreim
6f61c83623
floats always use current screen (with less bugs)
2008-04-05 13:50:09 +00:00
Lukas Mai
bcbccbfafc
XMonad.Operations: applySizeHint reshuffle
...
Make applySizeHints take window borders into account. Move old functionality
to applySizeHintsContents. Add new mkAdjust function that generates a custom
autohinter for a window.
2008-04-04 21:56:15 +00:00
Spencer Janssen
708084dd48
Remove gaps
2008-03-25 09:15:26 +00:00
Don Stewart
d948210935
clean up for style
2008-03-22 21:41:16 +00:00
Andrea Rossato
db08970071
add sendMessageWithNoRefresh and have broadcastMessage use it
...
This patch:
- moves broadcastMessage and restart from Core to Operations (to avoid
circular imports);
- in Operations introduces sendMessageWithNoRefresh and move
updateLayout outside windows.
- broadcastMessage now uses sendMessageWithNoRefresh to obey to this
rules:
1. if handleMessage returns Nothing no action is taken;
2. if handleMessage returns a Just ml *only* the layout field of the
workspace record will be updated.
2008-02-23 13:07:02 +00:00
Don Stewart
79754fd5d3
Revert float location patch. Not Xinerama safe
2008-03-21 21:41:29 +00:00
Andrea Rossato
669a162cfc
runLayout is now a LayoutClass method and takes the Workspace and the screen Rectangle
2008-02-22 17:58:15 +00:00
robreim
1c930ba955
Small linecount fix :)
2008-03-08 02:19:39 +00:00
robreim
797204fe6c
Change floats to always use the current screen
2008-03-08 01:58:29 +00:00
Don Stewart
695860f1fd
Lift initColor exceptions into Maybe
...
We should audit all X11 Haskell lib calls we make for whether
they throw undocumented exceptions, and then banish that.
2008-02-06 19:48:58 +00:00
Spencer Janssen
0c697ebbb4
Rename runManageHook to runQuery
2008-02-04 05:33:36 +00:00
Spencer Janssen
f9799422f9
Simplify duplicate/cloned screen logic
2008-01-18 03:22:28 +00:00
Joachim Breitner
be5e27038f
Put the screen removing stuff in getCleanedScreenInfo
2007-12-31 18:15:56 +00:00
Joachim Breitner
1f4b8cb5f6
Ignore cloned screens
...
This patch ignores screens that are just clones of existing ones,
or are completely contained in another. Currently only for rescreen, not yet for
xmonad start.
2007-12-31 18:06:28 +00:00
Spencer Janssen
c46f3ad549
Call 'broadcastMessage ReleaseResources' in restart
2007-12-19 06:57:10 +00:00
Spencer Janssen
f70ab7964e
Set withdrawnState after calling hide
2007-12-12 06:02:50 +00:00
Spencer Janssen
237fdbf037
Remove stale comment
2007-12-11 08:42:36 +00:00
Spencer Janssen
5166ede96b
Make windows responsible for setting withdrawn state
2007-12-11 08:01:17 +00:00
Spencer Janssen
56463b2391
Remove stale comment
2007-12-11 07:56:41 +00:00
Spencer Janssen
f427c2b0e9
Clean up stale mapped/waitingUnmap state in handle rather than unmanage.
...
This is an attempt to fix issue #96 . Thanks to jcreigh for the insights
necessary to fix the bug.
2007-12-11 07:48:10 +00:00
Lukas Mai
9ceef229c3
normalize Module headers
2007-12-10 08:53:27 +00:00
Andrea Rossato
f394956e56
Move XMonad.Layouts to XMonad.Layout for uniformity with xmc
2007-11-24 14:30:00 +00:00
Don Stewart
3456086f85
clean up fmap overuse with applicatives. more opportunities remain
2007-11-20 18:17:43 +00:00
Spencer Janssen
3b83895d28
ManageHook is a Monoid
2007-11-19 06:08:20 +00:00
Spencer Janssen
dc6ba6b5ee
No more liftM
2007-11-19 03:31:20 +00:00
Spencer Janssen
e2ab6e8a27
New ManageHook system
2007-11-09 02:47:22 +00:00
Don Stewart
dbfd13207d
Provide top level XMonad.hs export module
2007-11-07 03:06:17 +00:00
Spencer Janssen
c3c39aae12
Hierarchify
2007-11-01 18:08:46 +00:00