Wayland: Fix an abort when changing background colors with wayland_titlebar_color set to background
Fixes #5562
This commit is contained in:
parent
94b3776066
commit
fbfaefd72a
@ -50,6 +50,8 @@ Detailed list of changes
|
||||
|
||||
- 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`)
|
||||
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user