mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Wayland: Fix an abort when changing background colors with wayland_titlebar_color set to background
Fixes #5562
This commit is contained in:
@@ -50,6 +50,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- Wayland: Fix background image scaling using tiled mode on high DPI screens
|
- Wayland: Fix background image scaling using tiled mode on high DPI screens
|
||||||
|
|
||||||
|
- Wayland: Fix an abort when changing background colors with :opt:`wayland_titlebar_color` set to ``background`` (:iss:`5562`)
|
||||||
|
|
||||||
- Update to Unicode 15.0 (:pull:`5542`)
|
- Update to Unicode 15.0 (:pull:`5542`)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
5
glfw/wl_client_side_decorations.c
vendored
5
glfw/wl_client_side_decorations.c
vendored
@@ -450,8 +450,5 @@ set_titlebar_color(_GLFWwindow *window, uint32_t color, bool use_system_color) {
|
|||||||
decs.use_custom_titlebar_color = use_custom_color;
|
decs.use_custom_titlebar_color = use_custom_color;
|
||||||
decs.titlebar_color = color;
|
decs.titlebar_color = color;
|
||||||
}
|
}
|
||||||
if (window->decorated && decs.top.surface) {
|
change_csd_title(window);
|
||||||
update_title_bar(window);
|
|
||||||
damage_csd(top, decs.top.buffer.front);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user