[KPhotoAlbum] [PATCH 2/3] SettingsData: Default window geometry calculated
Michael Witten
mfwitten at MIT.EDU
Tue Sep 23 17:54:42 BST 2008
On 23 Sep 2008, at 9:15 AM, Michael Witten wrote:
>> On 23 Sep 2008, at 11:19 AM, Henner Zeller wrote:
>>
>
>> I'd probably suggest to do this calculation only on
>> platforms that don't have a decent window manager (I
>> always hate if the applications override the decent
>> placement my window manager suggests).
>>
>
> Perhaps we can use (0,0) when Q_WS_X11 is defined (is
> that an official macro?). However, does (0,0) really
> provide a window in a decent location for X11 systems?
> Is that a standard? Wouldn't it be better to give a more
> specific hint?
What exactly is the behavior of using (0,0) on your system?
What makes it preferable to providing a more direct hint?
The code I've written simply provides an educated guess at
a good default; the window manager would still choose, I
assume.
In short, I don't see the point of using (0,0) and Q_WS_X11.
More information about the Kphotoalbum
mailing list