Anders Engstrom
c5b5db500b
FloatSnap - calculate gaps instead of snapping against unmanaged windows
...
This patch will remove snapping against unmanaged windows, but instead calculate a new rectangle with all gaps (computed by ManageDocks) removed. This new rectangle is used to snap against. (Both the inside and outside of the rectangle.)
This will remedy the issue of snapping against multiple layers of the same window, additionally there will be no snap-points between windows on the same side. So if you are running two dzen side by side with half the screen each. You will not automatically have a snap-point in the middle.
Naturally, this patch will change which function is exported from ManageDocks.
2009-05-26 22:29:42 +00:00
Adam Vogt
49bb2655ff
A.FloatSnap snap to unmanaged docks too
2009-05-25 00:18:34 +00:00
Ismael Carnales
12939b6c1d
X.U.WindowProperties: Add getProp32 and getProp32s, helpers to get properties from windows
2009-02-05 01:30:31 +00:00
Lukas Mai
c15eea99c9
XMonad.Hooks.ManageDocks: haddock fix
2008-04-04 22:05:32 +00:00
Brent Yorgey
25c23eb79d
XMonad.Layout.Gaps: new contrib module for manual gap support, in the few cases where ManageDocks is not appropriate (dock apps that don't set STRUTS properly, adjusting for a display that is cut off on one edge, etc.)
2008-04-02 00:37:42 +00:00
Lukas Mai
7abbbd4568
XMonad.Hooks.ManageDocks: export checkDoc
2008-03-31 01:29:11 +00:00
Brent Yorgey
c857ebe29c
move Direction type from WindowNavigation to ManageDocks (ManageDocks will move into the core, taking Direction with it)
2008-03-31 01:01:27 +00:00
Brent Yorgey
da5452b009
ManageDocks: clean up + add more documentation
2008-03-31 00:29:29 +00:00
Brent Yorgey
bc0851f52a
ManageDocks: add avoidStrutsOn, for covering some docks and not others by default.
2008-03-27 20:39:40 +00:00
Brent Yorgey
4e66e0ad1b
ManageDocks: add ability to toggle individual gaps independently
2008-03-27 11:17:22 +00:00
Roman Cheplyaka
c86dd6f097
Haddock fix
2008-03-30 13:44:35 +00:00
Brent Yorgey
a787d4badf
ManageDocks: add warning about making sure gaps are set to zero before switching to avoidStruts, since ToggleStruts won't work otherwise
2008-03-26 23:19:28 +00:00
Andrea Rossato
3ca4966b06
LayoutModifier: reimplement ModifiedLayout using runLayout and more
...
- change modifyLayout type to get the Workspace
- updated ResizeScreen and ManageDocks accordingly.
2008-02-23 07:56:10 +00:00
Nils Anders Danielsson
10862fe143
Small refactoring.
2008-02-10 22:47:56 +00:00
Nils Anders Danielsson
83df2b4415
Fixed off-by-one error which broke strut handling for some panels.
2008-02-10 22:26:00 +00:00
Andrea Rossato
14d7231dd0
ManageDocks: implement AvoidStruts as a layout modifier
2008-01-27 14:43:01 +00:00
Andrea Rossato
07c2c3e7f9
ManageDocks: add emptyLayout definition for supporting the new decoration framework
2008-01-26 18:59:36 +00:00
Andrea Rossato
69453d212a
ManageDocks: some documentation fixes
2007-12-31 10:18:20 +00:00
Spencer Janssen
53571aad1e
AvoidStruts: add support for partial struts
2007-12-22 13:34:25 +00:00
Spencer Janssen
feae6b11e5
ManageDocks: ignore desktop windows also
2007-12-22 11:38:08 +00:00
Spencer Janssen
647c7e9b61
Add support for _NET_WM_STRUT_PARTIAL
2007-12-13 02:17:04 +00:00
Spencer Janssen
2033064db1
ManageDocks: when there are struts on opposing edges, the right/bottom strut
...
was ignored. TODO: quickchecks
2007-12-10 02:10:30 +00:00
Spencer Janssen
bd3e3ed64c
Update ManageDocks to the new ManageHook system, remove the gap setting code in favor of AvoidStruts
2007-12-09 13:42:25 +00:00
Spencer Janssen
3a522e7e3c
Remove XMonad.Operations imports
2007-12-08 00:05:47 +00:00
Spencer Janssen
4f7764ca8b
Prune more imports
2007-12-07 23:51:16 +00:00
Spencer Janssen
dc11825588
Remove redundant imports
2007-12-07 23:38:27 +00:00
Shachaf Ben-Kiki
6302d0b0b9
Miscellaneous spell-checking
2007-11-18 23:03:19 +00:00
Andrea Rossato
61b795d2e2
ManageDocks.hs: haddock fixes
2007-11-14 19:13:27 +00:00
Don Stewart
8d03f9d5d7
pattern guards and newtype deriving required for ManageDocks.hs to build!
2007-11-14 03:26:25 +00:00
David Roundy
de6b1feabf
add ToggleStruts capability to avoidStruts.
2007-11-13 20:34:34 +00:00
David Roundy
48f23960be
fix bug in avoidStruts.
2007-11-10 21:42:05 +00:00
Mats Jansborg
107a957ff6
Change the type of properties from Word32 to CLong
2007-11-01 19:27:30 +00:00
David Roundy
7540b14963
fix bug in avoidStruts.
...
I've now tested this module, and it works on x86--but doesn't work on
x86-64, because ManageDocks doesn't work on 64-bit. But in any case, it
works almost perfectly, with no user intervention needed (and no special
hooks). The only catch is that it doesn't notice when a panel disappears,
so the layout won't adjust until the next refresh (e.g. if you change
focus, layout or workspace).
2007-11-08 17:52:50 +00:00
Spencer Janssen
c1572fe940
Add LANGUAGE pragmas for ManageDocks
2007-11-06 02:15:07 +00:00
Spencer Janssen
cd1884466a
Hierarchify
2007-11-01 20:10:59 +00:00