Re: Fixing where windows come up on RHEL 9

Thomas Cameron <[email protected]>
Newsgroups gmane.comp.xfce.user
Message-ID <[email protected]>
On 1/22/24 13:50, Olivier Fourdan wrote:
> Hi
> 
> Unlike Wayland, X11 exposes global coordinates and the ICCCM allows X11 
> applications to specify a location for their windows. And most X11 
> applications (ab)use that feature.
> 
> xfwm4, the window manager in xfce, applies the following heuristic for 
> placing windows when first mapped:
> 
> 1. If the X11 client specified a location, use that.
> 2. If not, either place the window where there is least overlap with 
> other window, or centered on screen, depending on the settings.
> 
> xfwm4 will (optionally) save and restore the location of windows along 
> with the session (to restore the windows after a log out/log in), but it 
> will not remember the location all all window from all applications 
> after they get closed during the lifetime of a session (or even after 
> that applications get closed), but many X11 clients do that themselves 
> and try to restore the location of their windows when restarted.
> 
> All that to say that the center window / smart placement only applies to 
> clients which do not specify a location for their windows.
> 
> Cheers
> Olivier
Gotcha. Again, thanks for the education.

-- 
Thomas
_______________________________________________
Xfce mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce
http://www.xfce.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.