On Wed, 23 Jan 2013 at 16:52:50 +0100, Rodolfo García Peñas (kix) wrote: > > about the window placement, I have a problem (not with this patch). > > My laptop uses a screen size of 1024x768. At home I connect a screen > (1920x1200) and use xrandr to expand my desktop to it. All is fine > (more or less). The problem is if I put a window in the space > outside of my laptop monitor (but inside the output screen) and then > detach the output screen, because I cannot access to that window.
When you disconnect the external monitor does wmaker restart? > Perhaps we should check if the window is inside the connected screen > when windowmaker is restarted. The current xrandr behavior of wmaker is rather sick when it simply restarts everything upon detecting resolution changes. But apart from that I do think that checking whether all the windows are indeed inside the screen when starting wmaker is a good thing to do nevertheless and would "fix" your issue. The question to answer is what to do when there are windows outside. The simplest solution would be to place them at (0,0), but if there is more than one they would pile up. Another approach would be to decide where to put them on the fly, using the selected window placement option (Auto, Center, etc). Perhaps there is somebody out there using this "feature" to hide windows intentionally though, so one should consider fixing this using a new WPrefs option to decide if "unhiding" the window is OK or not. Please give it a try in fixing your issue :-) -- To unsubscribe, send mail to [email protected].
