
Hi, Am Dienstag, den 23.10.2007, 10:04 -0400 schrieb David Roundy:
On Tue, Oct 23, 2007 at 12:06:57AM +0200, mail@joachim-breitner.de wrote:
Tue Oct 23 00:01:32 CEST 2007 mail@joachim-breitner.de * STRUT aware gap toggling (clean patch)
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.
This sounds nice, but I wonder: why use the gaps at all? They were introduced as a hack to allow status bars to remain visible, but why not simply introduce a layout modifier (which alas, couldn't be implemented with the LayoutModifier interface) that automatically adjusts the bounding rectangle to avoid struts?
(I've obviously been longing to eliminate the ugly gaps from our data structures...)
Thanks for applying. I haven’t done anything with Layouts yet, so I didn’t think of that but sure, if it’s possible then it could be done this way. Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189