mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Wayland: Fix an abort when changing background colors with wayland_titlebar_color set to background
Fixes #5562
This commit is contained in:
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.titlebar_color = color;
|
||||
}
|
||||
if (window->decorated && decs.top.surface) {
|
||||
update_title_bar(window);
|
||||
damage_csd(top, decs.top.buffer.front);
|
||||
}
|
||||
change_csd_title(window);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user