Window placement off-screen
Michael Orlitzky
michael at orlitzky.com
Thu Apr 28 17:56:11 CEST 2011
On 04/28/2011 11:53 AM, Olivier Fourdan wrote:
> On Thu, Apr 28, 2011 at 5:48 PM, Michael Orlitzky <michael at orlitzky.com> wrote:
>> Right now, "at the center" with the slider all the way to the left. I've
>> tried every other combination with similar results, for emacs and evince
>> at least.
>
> Well, I gave you the explanation, what happens is these applications
> resize their own window after the initial mapping, thus breaking the
> optimal position computation.
>
> The fix is easy, I could make xfwm4 move such windows so that their
> content remains visible (the patch is a 1 liner). But I am not sure
> about the side effects of such a behaviour, as many apps may want to
> resize their windows and do not expect to be moved.
>
> IMHO, the best fix would be for the apps to compute their size before
> doing the initial mapping, as I think doing a mapping followed by a
> resize is quite sub-optimal.
I volunteer to be your crash test dummy =)
I'll patch it locally and see if anything breaks. If it works for a few
months, maybe it could be another checkbox in WM tweaks?
More information about the Xfce
mailing list