| Commit message (Collapse) | Author | Files | Lines |
|
Ignore-this: 51040e693066fd7803cc1b108c1a13d5
Also moves `fi' into U.Image to avoid cyclic imports,
though XUtils sill exports that definition.
darcs-hash:20100416212939-1499c-a12428074d873b1eaea197e1b79c0ca07a96b05f.gz
|
|
get rid of some others.
Ignore-this: bf3487b27036b02797d9f528a078d006
darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz
|
|
Ignore-this: ad7bbf10c49c9f3e938cdc3d8588e202
Imagine a screen layout like this:
11111111
11111111
11111111
222222 <--- xmobar here
222222
222222
When placing xmobar as indicated, the partial strut property indicates that an
entire height of screen 1 is covered by the strut, as well as a few lines at
the top of screen 2. The original code would create a screen rectangle of
negative height and wreak havoc. This patch causes such strut to be ignored on
the screen it covers entirely, resulting in the desired behaviour of a small
strut at the top of screen 2.
Please note that this semantics of _NET_WM_STRUT and _NET_WM_STRUT_PARTIAL is
different to what is in wm-spec. The "correct" thing to do would be to discard
the covered portion of screen 1 leaving two narrow areas at the sides, but
this new behaviour is probably more desirable in many cases, at least for
xmonad/xmobar users.
The correct solution of having separate _NET_WM_STRUT_PARTIAL for each
Xinerama screen was mentioned in wm-spec maillist in 2007, but has never
really been proposed, discussed and included in wm-spec. Hence this "hack".
darcs-hash:20091119145043-c9ff5-b4494537b40d2d44abec5fbcec8ea7c3c3ef1a6b.gz
|
|
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a
This makes the config suggestions consistent with the current template.
darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
|
|
Ignore-this: 43f4ffc627b3db204d74ed361ef939cf
darcs-hash:20091005165312-1499c-d406c742ce083a814826acd31d89b10120cfb250.gz
|
|
Ignore-this: 98a76bb48b8a569b459cadc4e6412c06
This patch also uses Data.Set instead of [] for the AvoidStruts
constructor to simplify the SetStruts implementation.
darcs-hash:20091005164221-1499c-3339a4b57ddaba0e6cb6aaf08fcfb1567063ae35.gz
|
|
Ignore-this: b2255ec2754fcdf797b1ce2c082642ba
This patch factors out commonly used direction types like
data Direction
darcs-hash:20090919191717-7f603-09c283e51a0b886d260008676d71e3daf31f4394.gz
|
|
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159
darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
|
|
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
|
|
Ignore-this: 46a856cae139d2e224ded985a9866ecf
darcs-hash:20090525001834-1499c-c4ef9061c280a7f5c7b3a698d86548e8d83d7940.gz
|
|
properties from windows
Ignore-this: c5481fd5d97b15ca049e2da2605f65c1
darcs-hash:20090205013031-6553f-d106b609838d4ccf3fe4afa448910b897cd5b87c.gz
|
|
darcs-hash:20080404220532-462cf-db8daa9e11afcd3725489a534f5ab89b2037f0b8.gz
|
|
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
|
|
darcs-hash:20080331012911-462cf-ded8fe64cad63d4bfcc5448ed79420e9e794ec82.gz
|
|
move into the core, taking Direction with it)
darcs-hash:20080331010127-bd4d7-972600c072354b2c07a227ade70d4abf80fe418c.gz
|
|
darcs-hash:20080331002929-bd4d7-f7c1572196109f7205eef109460b35539fdc7b45.gz
|
|
default.
darcs-hash:20080327203940-bd4d7-7ae319d50280cb13d32d8186d7d8f4b2113c4919.gz
|
|
darcs-hash:20080327111722-bd4d7-2bafc521feff2d36b641ed2ca6bcff79d684624a.gz
|
|
darcs-hash:20080330134435-3ebed-a45d16ddc1ee6db2238af9b4c65b90eee53341f3.gz
|
|
switching to avoidStruts, since ToggleStruts won't work otherwise
darcs-hash:20080326231928-bd4d7-fa951c2d9b7a26187a9316842c6cca67a234fa01.gz
|
|
- change modifyLayout type to get the Workspace
- updated ResizeScreen and ManageDocks accordingly.
darcs-hash:20080223075610-32816-05f373cf73305ce5b41d0c250fb5d6413e72b3b4.gz
|
|
darcs-hash:20080210224756-9990f-b6287e5e35b83c7e6b13ed90d7f8b34720eada36.gz
|
|
darcs-hash:20080210222600-9990f-30f64da2f26b6673e57eb981fc4acfcbcb414744.gz
|
|
darcs-hash:20080127144301-32816-bab1379fe84653d6d87accdb7c5e47aba0621079.gz
|
|
framework
darcs-hash:20080126185936-32816-eaeed6cf2631348fbe1640c778397c6883dae174.gz
|
|
darcs-hash:20071231101820-32816-2b9d19431d22dfa25d0e0e0baaa11a69b34ff92c.gz
|
|
darcs-hash:20071222133425-a5988-16543bbea84d76ff79aaf9557c8a3754b5136a9e.gz
|
|
darcs-hash:20071222113808-a5988-475ba24c43ec66b49cc621f029bf82a9800a478a.gz
|
|
darcs-hash:20071213021704-a5988-09d4118b417f1e25f1f640cc28d5e3fee5af8276.gz
|
|
was ignored. TODO: quickchecks
darcs-hash:20071210021030-a5988-652b63b2819da15c435f7411bc8bc60d679a25a0.gz
|
|
in favor of AvoidStruts
darcs-hash:20071209134225-a5988-dd485354446755d6fff36168d11ba33fc91cd3e2.gz
|
|
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
|
|
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
|
|
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
|
|
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
|
|
darcs-hash:20071114191327-32816-63abb4c8987e156def305e1ce6dfbbb068ad562a.gz
|
|
darcs-hash:20071114032625-cba2c-2aabbcd9740c70a30eca7658a5e5596fcf08a216.gz
|
|
darcs-hash:20071113203434-72aca-760330df77f5c8f60507321ab9bb648284f8c7ce.gz
|
|
darcs-hash:20071110214205-72aca-907faf271a9ca27ebd0cacc58ff3556e8f1a9d56.gz
|
|
darcs-hash:20071101192730-7344d-1cfbaa5597e39a9fa46b661fd5c110629db3912c.gz
|
|
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
|
|
darcs-hash:20071106021507-a5988-dbc0273c1eeb426ae2eda2e18949825db4c5242e.gz
|
|
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
|
|
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
|
|
darcs-hash:20071023220025-72aca-a741feec986227fcd60d4a7e09be98f163d6b118.gz
|
|
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
|
|
darcs-hash:20071010213853-bd4fb-66e3492b55dc7aeb9dee18201a66f540b52e8b53.gz
|
|
darcs-hash:20071007204016-78224-4cf7d340d1f32d7fb4a8f01396dfe378b82ec915.gz
|
|
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
|
|
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
|