mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 22:32:45 +00:00
Wayland: Fix a regression in 0.34 that caused the tab bar to not render in second and subsequent OS Windows under Hyprland
Fixes #7413
This commit is contained in:
parent
149a26ce51
commit
9837531b63
2 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,12 @@ consumption to do the same tasks.
|
|||
Detailed list of changes
|
||||
-------------------------------------
|
||||
|
||||
0.35.1 [future]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- Wayland: Fix a regression in 0.34 that caused the tab bar to not render in second and subsequent OS Windows under Hyprland (:iss:`7413`)
|
||||
|
||||
|
||||
0.35.0 [2024-05-25]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -1226,6 +1226,8 @@ create_os_window(PyObject UNUSED *self, PyObject *args, PyObject *kw) {
|
|||
#ifndef __APPLE__
|
||||
is_apple = false;
|
||||
glfwShowWindow(glfw_window);
|
||||
// On Wayland glfwShowWindow spins the event loop, which could include resize events for other OS Windows causing the context to change
|
||||
if (glfwGetCurrentContext() != glfw_window) glfwMakeContextCurrent(glfw_window);
|
||||
#endif
|
||||
if (global_state.is_wayland || is_apple) {
|
||||
float n_xscale, n_yscale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue