[Wayland-bugs] [Bug 757690] [Wayland] gtk_window_resize() does not behave as expected
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Nov 16 06:11:50 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757690
Olivier Fourdan <ofourdan at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ofourdan at redhat.com
--- Comment #5 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 315674
--> https://bugzilla.gnome.org/attachment.cgi?id=315674&action=edit
Updated example
I think this is indeed the same as bug 756618, basically, gtk_window_resize()
takes the client side decorations into account and therefore ends up with a
smaller window that expected.
The attached (modified) version gives expected results with gtk+-3.19.x, the
changes in the source code (i.e. moving the gtk_window_resize() after the
gtk_window_show_all()) are necessary so that the size of the header bar and
shadows are known at the time the resize is issued so that gtk_window_resize()
can compensate for those additional controls.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151116/264dfd38/attachment-0001.html>
More information about the wayland-bugs
mailing list