[Wayland-bugs] [Bug 736742] wayland: Pass shadow width to compositor

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 23 04:22:49 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736742
  gtk+ | Backend: Wayland | unspecified

--- Comment #8 from Carlos Garnacho <carlosg at gnome.org> 2014-11-23 12:22:42 UTC ---
Not fully sure what makes you most unhappy with it, Gdk design issues aside. I
can't help but think you're expecting window state/size and geometry to be
committed at once, this is however a 2 step process in GTK+, the window state
is changed, and the size/state change triggers a border update. It doesn't make
sense to try to do this preemptively if the WM may not honor the request.

AFAICT the difference in behavior wrt X11 is mainly that maximized/fullscreen
window sizes never extend beyond monitor bounds there (so unsetting the border
afterwards comes out right), whereas on Wayland the window borders are still
accounted for.

This patch mainly makes set_shadow_width() idempotent wrt window size, not most
pretty maybe, but desirable IMO, given the 2 step process.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the wayland-bugs mailing list