On Tue, 30 Oct 2012, Carlos R. Mafra escribió: > On Tue, 30 Oct 2012 at 5:29:46 +0000, Iain Patterson wrote: > > > Subject: [PATCH 3/3] Use partial struts to reserve space for icons. > > > > Calculate the space actually used by app icons and the dock and set > > partial struts on each individual icon where appropriate. Thus the > > screen area reserved by icons is no larger than the space actually > > taken up by those icons. In the, contrived, case that the icons are > > all moved partially offscreen, reserved space will actually shrink. > > --- > > src/appicon.c | 3 ++ > > src/defaults.c | 23 +++++++-- > > src/dock.c | 2 + > > src/screen.c | 40 +-------------- > > src/startup.c | 4 ++ > > src/wmspec.c | 160 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++---- > > src/wmspec.h | 1 + > > 7 files changed, 183 insertions(+), 50 deletions(-) > > > This patch makes my wmaker crash when I start any application which > has an appicon, I tried xcalc and chrome. Starting a xterm with no > appicon is ok. > > I will try to debug this on the weekend in order to determine > where exactly it goes wrong, unless someone spots the trouble > first :-) > > > -- > To unsubscribe, send mail to [email protected].
Hi, The patch "Use partial struts to reserve space for icons." do strange behavior. For example, If I launch Xterm, Amarok, and JDownload, the application icons (that in my conf are at bottom-left) should be sometehing like: [amarok][java][XTerm] But with this patch are something like: [amarok] [java][Xterm] or [java][XTerm][Amarok] [64 pixels empty space] Cheers, kix -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To unsubscribe, send mail to [email protected].
