Carlos R. Mafra wrote: > So the problem is that it really saves the old geometry, including > the fact that it was in the "old" screen before. > > It is annoying in your case, and it was not happening before so > I should try to fix it (although I don't have how to test it myself). > I think it could be done by checking whether the un-maximization > step is happening in the same screen as the old geometry coordinates, > and if not, update the old geometry to point to the new screen (but > with the old x and y coords).
I don't know much about the xinerama code and I won't have too much free time until I finish my next paper, but I did a quick look and it looks like we want to save the old screen pointer too in the save_old_geometry(), like WScreen *old_scr; old_scr = wwin->screen_ptr; and then check for it in wUnmaximizeWindow(), right before the comment /* Use old coordinates if they are set, current values otherwise */ more or less like if (wwin->screen_ptr != old_scr) (move the old geometry to be based on the new screen) but right now I don't know how to do that with xinerama code. -- To unsubscribe, send mail to [email protected].
