diff options
author | Anders Engstrom <ankaan@gmail.com> | 2009-05-27 00:29:42 +0200 |
---|---|---|
committer | Anders Engstrom <ankaan@gmail.com> | 2009-05-27 00:29:42 +0200 |
commit | 3d040ddf0bdbf190c071918e3adb7be6db00b4e7 (patch) | |
tree | 7cb7554765e24848e873a85352911d95348c2c8d /XMonad/Prompt/RunOrRaise.hs | |
parent | aa6bc9f3e9cd1d4436ce14a3da099beee252c3aa (diff) | |
download | XMonadContrib-3d040ddf0bdbf190c071918e3adb7be6db00b4e7.tar.gz XMonadContrib-3d040ddf0bdbf190c071918e3adb7be6db00b4e7.tar.xz XMonadContrib-3d040ddf0bdbf190c071918e3adb7be6db00b4e7.zip |
FloatSnap - calculate gaps instead of snapping against unmanaged windows
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
Diffstat (limited to 'XMonad/Prompt/RunOrRaise.hs')
0 files changed, 0 insertions, 0 deletions