[Wayland-bugs] [Bug 780810] GtkWindow size-allocate width and height are way too big in Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 1 18:05:34 UTC 2017


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

--- Comment #3 from Timm Bäder <mail at baedert.org> ---
I think running with GTK_CSD=1 forces csd even on x11.

I don't think that's wrong it's the window's border plus shadows, twice. And
vertically it's that plus the allocation of the titlebar.

Checking a CSD demo under wayland, I see the titlebar allocated at x = 26 (26 *
2 = 52, the horizontal difference in your example) and at y = 23. I guess
Adwaita uses difference shadow radii here. But the titlebar has an allocated
height of 37 px and 23 * 2 + 37 = 83, the vertical difference in the example
you provided.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170401/54dce27a/attachment.html>


More information about the wayland-bugs mailing list