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

Eric Williams <[email protected]> changed:

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

--- Comment #6 from Eric Williams <[email protected]> ---
(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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to