[Wayland-bugs] [Bug 757690] [Wayland] gtk_window_resize() does not behave as expected

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 16 08:36:41 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=757690

Eric Williams <ericwill at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Eric Williams <ericwill at redhat.com> ---
(In reply to Olivier Fourdan from comment #5)
> 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.

Your snippet combined with the patch from bug 756618 fixes the problem for me
on GTK3. Marking as a duplicate.

*** This bug has been marked as a duplicate of bug 756618 ***

-- 
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/e0371ac8/attachment.html>


More information about the wayland-bugs mailing list