darcs patch: FloatSnap - calculate gaps instead of snapping against...

Wed May 27 00:29:42 CEST 2009 Anders Engstrom

* On Tuesday, May 26 2009, Anders Engstrom wrote:
Wed May 27 00:29:42 CEST 2009 Anders Engstrom
* 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.
Applied, thanks. Finally I see how my addition behaved strangely for you. Since I use only a single full-width xmobar I didn't get those excess snap-points which clearly are inconvenient.
participants (2)
-
Adam Vogt
-
Anders Engstrom