aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/ManageDocks.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-19Factor out direction types and put them in X.U.TypesDaniel Schoepe1-18/+8
Ignore-this: b2255ec2754fcdf797b1ce2c082642ba This patch factors out commonly used direction types like data Direction darcs-hash:20090919191717-7f603-09c283e51a0b886d260008676d71e3daf31f4394.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-1/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2009-05-27FloatSnap - calculate gaps instead of snapping against unmanaged windowsAnders Engstrom1-1/+1
Ignore-this: 4378f4c6c4f383c9a35acb503409d865 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. darcs-hash:20090526222942-8978f-2d110fbeb4777d6b019b7f0f647eb2251196b5e8.gz
2009-05-25A.FloatSnap snap to unmanaged docks tooAdam Vogt1-1/+4
Ignore-this: 46a856cae139d2e224ded985a9866ecf darcs-hash:20090525001834-1499c-c4ef9061c280a7f5c7b3a698d86548e8d83d7940.gz
2009-02-05X.U.WindowProperties: Add getProp32 and getProp32s, helpers to get ↵Ismael Carnales1-10/+4
properties from windows Ignore-this: c5481fd5d97b15ca049e2da2605f65c1 darcs-hash:20090205013031-6553f-d106b609838d4ccf3fe4afa448910b897cd5b87c.gz
2008-04-05XMonad.Hooks.ManageDocks: haddock fixLukas Mai1-2/+2
darcs-hash:20080404220532-462cf-db8daa9e11afcd3725489a534f5ab89b2037f0b8.gz
2008-04-02XMonad.Layout.Gaps: new contrib module for manual gap support, in the few ↵Brent Yorgey1-1/+5
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.) darcs-hash:20080402003742-bd4d7-6a773f670180cc60118bca3a0d2a12fa3a445540.gz
2008-03-31XMonad.Hooks.ManageDocks: export checkDocLukas Mai1-2/+2
darcs-hash:20080331012911-462cf-ded8fe64cad63d4bfcc5448ed79420e9e794ec82.gz
2008-03-31move Direction type from WindowNavigation to ManageDocks (ManageDocks will ↵Brent Yorgey1-23/+28
move into the core, taking Direction with it) darcs-hash:20080331010127-bd4d7-972600c072354b2c07a227ade70d4abf80fe418c.gz
2008-03-31ManageDocks: clean up + add more documentationBrent Yorgey1-21/+23
darcs-hash:20080331002929-bd4d7-f7c1572196109f7205eef109460b35539fdc7b45.gz
2008-03-27ManageDocks: add avoidStrutsOn, for covering some docks and not others by ↵Brent Yorgey1-2/+17
default. darcs-hash:20080327203940-bd4d7-7ae319d50280cb13d32d8186d7d8f4b2113c4919.gz
2008-03-27ManageDocks: add ability to toggle individual gaps independentlyBrent Yorgey1-17/+39
darcs-hash:20080327111722-bd4d7-2bafc521feff2d36b641ed2ca6bcff79d684624a.gz
2008-03-30Haddock fixRoman Cheplyaka1-1/+1
darcs-hash:20080330134435-3ebed-a45d16ddc1ee6db2238af9b4c65b90eee53341f3.gz
2008-03-27ManageDocks: add warning about making sure gaps are set to zero before ↵Brent Yorgey1-1/+7
switching to avoidStruts, since ToggleStruts won't work otherwise darcs-hash:20080326231928-bd4d7-fa951c2d9b7a26187a9316842c6cca67a234fa01.gz
2008-02-23LayoutModifier: reimplement ModifiedLayout using runLayout and moreAndrea Rossato1-2/+2
- change modifyLayout type to get the Workspace - updated ResizeScreen and ManageDocks accordingly. darcs-hash:20080223075610-32816-05f373cf73305ce5b41d0c250fb5d6413e72b3b4.gz
2008-02-10Small refactoring.Nils Anders Danielsson1-21/+35
darcs-hash:20080210224756-9990f-b6287e5e35b83c7e6b13ed90d7f8b34720eada36.gz
2008-02-10Fixed off-by-one error which broke strut handling for some panels.Nils Anders Danielsson1-4/+19
darcs-hash:20080210222600-9990f-30f64da2f26b6673e57eb981fc4acfcbcb414744.gz
2008-01-27ManageDocks: implement AvoidStruts as a layout modifierAndrea Rossato1-18/+12
darcs-hash:20080127144301-32816-bab1379fe84653d6d87accdb7c5e47aba0621079.gz
2008-01-26ManageDocks: add emptyLayout definition for supporting the new decoration ↵Andrea Rossato1-0/+3
framework darcs-hash:20080126185936-32816-eaeed6cf2631348fbe1640c778397c6883dae174.gz
2007-12-31ManageDocks: some documentation fixesAndrea Rossato1-1/+4
darcs-hash:20071231101820-32816-2b9d19431d22dfa25d0e0e0baaa11a69b34ff92c.gz
2007-12-22AvoidStruts: add support for partial strutsSpencer Janssen1-40/+43
darcs-hash:20071222133425-a5988-16543bbea84d76ff79aaf9557c8a3754b5136a9e.gz
2007-12-22ManageDocks: ignore desktop windows alsoSpencer Janssen1-3/+4
darcs-hash:20071222113808-a5988-475ba24c43ec66b49cc621f029bf82a9800a478a.gz
2007-12-13Add support for _NET_WM_STRUT_PARTIALSpencer Janssen1-9/+11
darcs-hash:20071213021704-a5988-09d4118b417f1e25f1f640cc28d5e3fee5af8276.gz
2007-12-10ManageDocks: when there are struts on opposing edges, the right/bottom strutSpencer Janssen1-2/+3
was ignored. TODO: quickchecks darcs-hash:20071210021030-a5988-652b63b2819da15c435f7411bc8bc60d679a25a0.gz
2007-12-09Update ManageDocks to the new ManageHook system, remove the gap setting code ↵Spencer Janssen1-84/+61
in favor of AvoidStruts darcs-hash:20071209134225-a5988-dd485354446755d6fff36168d11ba33fc91cd3e2.gz
2007-12-08Remove XMonad.Operations importsSpencer Janssen1-1/+0
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
2007-12-08Prune more importsSpencer Janssen1-2/+0
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
2007-12-08Remove redundant importsSpencer Janssen1-1/+0
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-19Miscellaneous spell-checkingShachaf Ben-Kiki1-1/+1
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
2007-11-14ManageDocks.hs: haddock fixesAndrea Rossato1-6/+7
darcs-hash:20071114191327-32816-63abb4c8987e156def305e1ce6dfbbb068ad562a.gz
2007-11-14pattern guards and newtype deriving required for ManageDocks.hs to build!Don Stewart1-1/+3
darcs-hash:20071114032625-cba2c-2aabbcd9740c70a30eca7658a5e5596fcf08a216.gz
2007-11-13add ToggleStruts capability to avoidStruts.David Roundy1-9/+18
darcs-hash:20071113203434-72aca-760330df77f5c8f60507321ab9bb648284f8c7ce.gz
2007-11-10fix bug in avoidStruts.David Roundy1-1/+1
darcs-hash:20071110214205-72aca-907faf271a9ca27ebd0cacc58ff3556e8f1a9d56.gz
2007-11-01Change the type of properties from Word32 to CLongMats Jansborg1-2/+2
darcs-hash:20071101192730-7344d-1cfbaa5597e39a9fa46b661fd5c110629db3912c.gz
2007-11-08fix bug in avoidStruts.David Roundy1-1/+14
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). darcs-hash:20071108175250-72aca-13b5c836f9b263465aee9fe7a5f1b1e875eb8f60.gz
2007-11-06Add LANGUAGE pragmas for ManageDocksSpencer Janssen1-0/+1
darcs-hash:20071106021507-a5988-dbc0273c1eeb426ae2eda2e18949825db4c5242e.gz
2007-11-01HierarchifySpencer Janssen1-4/+4
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-01Use hierarchical module names from the coreSpencer Janssen1-2/+2
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
2007-10-24code to define a strut-avoiding layout.David Roundy1-0/+19
darcs-hash:20071023220025-72aca-a741feec986227fcd60d4a7e09be98f163d6b118.gz
2007-10-23STRUT aware gap toggling (clean patch)mail1-8/+40
Without this patch, ManageDocks would only set the gap according to a window’s STRUT when the window is first mapped. This information would then get lost when the user toggle the gap. Now, when the user toggles the Gap, all present windows are scanned for STRUT settings, and the gap is set accordingly. No need to manually configure the gap anymore. This is the same patch as before, but independant of the Hooks patches, and with more documentation. darcs-hash:20071022220132-c9905-fb953a07a9c15ed37a40b47d83763f434de47fcf.gz
2007-10-10Fix EwmhDesktops, ManageDocks, and SetWMName compilation for amd64Alex Tarkovsky1-30/+30
darcs-hash:20071010213853-bd4fb-66e3492b55dc7aeb9dee18201a66f540b52e8b53.gz
2007-10-07doc fixes for ManageDocksDevin Mullins1-1/+3
darcs-hash:20071007204016-78224-4cf7d340d1f32d7fb4a8f01396dfe378b82ec915.gz
2007-10-07ManageDocks now handles STRUT windows as wellmail1-5/+46
It now also detects window with STRUT set and modifies the gap accordingly. Cheveats: * Only acts on STRUT apps on creation, not if you move or close them * To reset the gap, press Mod-b twice and restart xmonad (Mod-q) darcs-hash:20071007103116-c9905-8582a9f756d9ef8a61c7f118d677159796b00c40.gz
2007-10-06(un)Manage Docks based on WINDOW_TYPEmail1-0/+59
Hi, this is a replacement for the example code in Config.hs that should detect and unamange, for example, the gnome-panel. The problem with that code is that it also unamangs dialog boxes from gnome-panel which then are not usable (no keyboard intput, at least here). Greetings, Joachim darcs-hash:20071006132802-c9905-befdbe36f6f280d987dfb62702b7a6e05ce3306c.gz