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

Jonas Ådahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #332696|0                           |1
        is obsolete|                            |

--- Comment #9 from Jonas Ådahl <[email protected]> ---
Created attachment 332789
  --> https://bugzilla.gnome.org/attachment.cgi?id=332789&action=edit
wayland: Don't include shadow margins in window size

The GdkWindow::width and GdkWindow::height fields represent the window
geometry size, not including any possible shadow margin. The Wayland
backend ignored this and appended it anyway, causing various problems
here and there.

This fixes an relative popup positioning when a menu expands upwards
or to the right from a anchor rectangle. The reason was that since the
size was "in flux" between gtk/'s and gdk/wayland/'s understanding of
size, if the position calculation happened to be done in state, but
actual positioning in the other, the position was incorrect.

---

This patch replaces "wayland: Don't append shadow width to window size".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to