mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Wayland: Fix erratic fallback decoration behavior
The handler for xdg_toplevel::configure treated the provided size as the
content area size when instead it is the size of the bounding rectangle
of the wl_surface and all its subsurfaces.
This caused the fallback decorations to try positioning themselves
outside themselves, causing feedback loops during interactive resizing.
Fixes #1991
Fixes #2115
Closes #2127
Related to #1914
(cherry picked from commit 0f5b095042)
This commit is contained in:
@@ -162,6 +162,8 @@ information on what to include when reporting a bug.
|
||||
- [Wayland] Bugfix: A window content scale event would be emitted every time
|
||||
the window resized
|
||||
- [Wayland] Bugfix: If `glfwInit` failed it would close stdin
|
||||
- [Wayland] Bugfix: Manual resizing with fallback decorations behaved erratically
|
||||
(#1991,#2115,#2127)
|
||||
|
||||
|
||||
## Contact
|
||||
|
||||
Reference in New Issue
Block a user