[Commits] [SCM] claws branch, master, updated. 3.13.2-160-gcb67730

Andrej Kacian andrej at kacian.sk
Sat Jul 2 18:27:07 CEST 2016


On Sat,  2 Jul 2016 18:14:46 +0200 (CEST)
pawel at claws-mail.org wrote:

> - Log -----------------------------------------------------------------
> commit cb67730a260a491ae380fd928d8ca673200972b0
> Author: Pawel Pekala <c0rn at o2.pl>
> Date:   Sat Jul 2 18:05:14 2016 +0200
> 
>     Place dialogs on center of main window. Most window managers place
>     these dialogs in some weird positions making interacting with
>     them unwieldy. Windows is biggest offender here putting things
>     around left top corner of the screen.

After reading the relevant part of GTK documentation, I don't think
GTK_WIN_POS_CENTER_ALWAYS is what you want here.
GTK_WIN_POS_CENTER_ON_PARENT seems like a better fit, if you insist on
going against what window managers do.

IMHO, window placement is a job for the window manager, and if you're
using a good one, you won't have any "unwieldy interacting". I also
didn't observe any issue with this on Windows.

Regards,
-- 
Andrej


More information about the Commits mailing list