On Fri, 6 Jan 2012 at 18:19:09 -0500, David Rawson Couzelis wrote: > > >Where in the code wmaker drops the docks? You have to disallow that > >unconditionally, imho. > > "dock.c", line 1093
That line is inside wDockCreate(), and I think it makes sense to restrict the number of dockapps based on the screen size when _creating_ the dock, right? I think the issue you have is related to the event of _restoring_ the dock upon resolution change, look at wDockRestoreState(). And now it does not make sense to change the state of the dock if we are _restoring_ it. So the fix should deal with this case instead. However, I think the optimal fix fix would deal with the xrandr code and make wmaker aware that the screen changed without the drastic measure of Restart()... -- To unsubscribe, send mail to [email protected].
