Window placement off-screen
Olivier Fourdan
fourdan at gmail.com
Thu Apr 28 17:53:06 CEST 2011
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.
Cheers,
Olivier
More information about the Xfce
mailing list