mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Wayland: Only rely on keyboard enter/leave events for OS window focus state
GNOME has broken activated==focused assumption GLFW used to make. Also
follows upstream GLFW behavior. c2f0a0ae59
Fixes #8716
This commit is contained in:
@@ -123,6 +123,9 @@ Detailed list of changes
|
|||||||
|
|
||||||
- Graphics protocol: Add a note clarifying image update behavior on re-transmission (:iss:`8701`)
|
- Graphics protocol: Add a note clarifying image update behavior on re-transmission (:iss:`8701`)
|
||||||
|
|
||||||
|
- Wayland GNOME: Fix incorrect OS Window tracking because GNOME has started
|
||||||
|
activating windows on non-current workspaces (:iss:`8716`)
|
||||||
|
|
||||||
0.42.1 [2025-05-17]
|
0.42.1 [2025-05-17]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
@@ -809,7 +809,6 @@ apply_xdg_configure_changes(_GLFWwindow *window) {
|
|||||||
window->wl.current.toplevel_states = new_states;
|
window->wl.current.toplevel_states = new_states;
|
||||||
window->wl.current.width = width;
|
window->wl.current.width = width;
|
||||||
window->wl.current.height = height;
|
window->wl.current.height = height;
|
||||||
_glfwInputWindowFocus(window, window->wl.current.toplevel_states & TOPLEVEL_STATE_ACTIVATED);
|
|
||||||
if (live_resize_done) report_live_resize(window, false);
|
if (live_resize_done) report_live_resize(window, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user