<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 11, 2014 at 12:57 PM, Giulio Camuffo <span dir="ltr"><<a href="mailto:giuliocamuffo@gmail.com" target="_blank">giuliocamuffo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The problem is that windows don't always have a meaningful position.<br>
If a window is shown on two outputs at the same time, maybe one of<br>
which a remote one, what is the window position? And what is the<br>
position of a window rotated 45 degrees?<br></blockquote><div><br></div><div>Since the question about absolute positioning of windows comes up every now and then (and probably will continue to do so for the next few years), I thought about a possible way to fix this.<br>
<br>We could create a new interface, that puts an unrotated rectangle around a window (which could be transformed in whatever way), that is just big enough to fit in the whole window. The upper left corner of this rectangle could then be defined as its "position", which could be read and set by the user. The size of this rectangle could also be of interest of the user, but of course not be set.<br>
<br></div><div>Since a window could be on multiple outputs, there would be the need for one instance of this interface for every output and every window. These could maybe be created and destroyed with events (whenever a window appears or disappears on an output).<br>
<br></div><div>This is not 100% thought through, but maybe a starting point.<br><br></div></div></div></div>