[patch] KDialog::centerOnScreen()

David Faure faure at kde.org
Tue Dec 27 11:49:19 GMT 2005


On Tuesday 27 December 2005 12:45, Jarosław Staniek wrote:
> 
> Since KDE Kicker (and win32's "kicker") is "always on top", it could be better 
> for centered dialogs to use availableGeometry() instead of screenGeometry(), 
> to avoid covering them by Kicker (at least sometimes).
> 
> Is this reasonable?
> 
> I don't know whether the change is also good for KDialog::avoidArea(), since 
> screenRect() is also used there.

The change seems fine for avoidArea() too.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list