Wayland: Fix duplicate focus event on activation

(cherry picked from commit c2f0a0ae59)
This commit is contained in:
Camilla Löwy 2021-12-22 14:16:19 +01:00
parent 5470fd6de9
commit 3b806aef27
2 changed files with 1 additions and 1 deletions

View File

@ -124,6 +124,7 @@ information on what to include when reporting a bug.
## Changelog
- [Wayland] Bugfix: Key repeat could lead to a race condition (#1710)
- [Wayland] Bugfix: Activating a window would emit two input focus events
## Contact

View File

@ -653,7 +653,6 @@ static void xdgToplevelHandleConfigure(void* data,
}
if (fullscreen && activated)
window->wl.wasFullscreen = GLFW_TRUE;
_glfwInputWindowFocus(window, activated);
}
static void xdgToplevelHandleClose(void* data,