Window placement

Bill Spitzak spitzak at gmail.com
Tue Jul 1 12:48:57 PDT 2014


On 06/30/2014 11:36 PM, Pekka Paalanen wrote:

> One idea was that the client can ask the compositor to create a
> cookie (a blob) that the client can save, and when restoring the
> window, give the cookie back to the compositor to recall the position
> and size, subject to the compositor checking if it makes sense
> (e.g. avoid putting windows in unreachable places) and adjusting as
> necessary. It is a blob rather than (x,y,w,h,a,r,g,...) tuple, so that
> different compositors can save all the compositor-specific data too,
> like rotation angles. Also, the blob is to prevent clients from abusing
> the recall mechanism to position windows in global coordinates. But
> that's just one idea.

That solution cannot work as we need the ability to reuse the saved 
settings on Windows and X and OS/X and also on different Wayland 
compositors.


More information about the wayland-devel mailing list