Quoth Carlos R. Mafra,
wmaker(wScreenUpdateUsableArea(screen.c:762)): warning: usableArea[0]: 0 1920 0
1080
The problem is that there's an infinite loop.
wScreenUpdateUsableArea() calls wArrangeIcons(). The icons move so
we call wIconUpdateStruts() to set struts and that calls
wScreenUpdateUsableArea() again.
When you suggested using struts for docks and icons I thought it
would be quick and easy to do but it's getting complex in a big hurry
and I'm not convinced that we're actually getting any benefit from it.
The code to avoid covering the dock and icons worked well and as
long as we are still using the existing placement rules we still can't
place "under" a vertical stack of icons or "next to" a horizontal
stack. If we revamped the placement rules we could fill that empty
space without needing struts.
I think we should revert commit
2cc982fb4bfeef196dd1daaa2d3db98d76e9676c and I'll look into a new
placement method instead further complicating this experiment. The
commits leading up to that one could still be useful and should be
safe to keep.
--
To unsubscribe, send mail to [email protected].