[Xfce-bugs] [Bug 1314] libxfcegui4: xfce_gtk_window_center_on_monitor doesn't always really center windows
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Jan 7 21:33:23 CET 2006
Do NOT reply to this email. To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1314
------- Additional Comments From xfce-bug at sstuhr.dk 2006-01-07 20:33 UTC -------
(In reply to comment #2)
> gtk_window_get_size() returns the value of the size at the last configure event.
> Since xfce_gtk_window_center_on_monitor() is usually called before the window
> is even mapped, this won't provide accurate results.
It seems to work here.
> This also doesn't take
> into account the size of the window decorations, so it'll be slightly off-center.
How is that different from the way it is now?
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Xfce-bugs
mailing list