Wayland: Fix GLFW_HOVERED for fallback decorations

When using the fallback decorations, GLFW_HOVERED was true also when the
cursor was over one of the window decorations.

This also disentangles the GLFW_HOVERED state from the fallback
decorations.  Because GLFW_HOVERED should have had the same behavior as
GLFW_MAIN_WINDOW, the latter has been removed.
This commit is contained in:
Camilla Löwy
2024-02-07 22:21:52 +01:00
parent 5e97447dd5
commit ea6dd72c71
3 changed files with 44 additions and 43 deletions

View File

@@ -181,6 +181,8 @@ information on what to include when reporting a bug.
- [Wayland] Added support for `glfwFocusWindow`
- [Wayland] Added dynamic loading of all Wayland libraries
- [Wayland] Bugfix: `CLOCK_MONOTONIC` was not correctly enabled
- [Wayland] Bugfix: `GLFW_HOVERED` was true when the cursor was over any
fallback window decoration
- [X11] Bugfix: Termination would segfault if the IM had been destroyed
- [X11] Bugfix: Any IM started after initialization would not be detected
- [POSIX] Removed use of deprecated function `gettimeofday`