sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 223fe0d4fcdb16cdb911176df76bb4bf75683735
parent a3fe7f0346236ecd75e79ae612002d497c3bc160
Author: blinxen <h-k-81@hotmail.com>
Date:   Mon, 13 Oct 2025 21:26:39 +0200

Initialize surface height with 0 before drawing

Diffstat:
Mswaybar/tray/dbusmenu.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/swaybar/tray/dbusmenu.c b/swaybar/tray/dbusmenu.c @@ -359,6 +359,7 @@ static void draw_menu_items(cairo_t *cairo, struct swaybar_dbusmenu_menu *menu, *surface_y = 0; *surface_x = 0; *surface_width = 0; + *surface_height = 0; bool is_icon_drawn = false; int icon_size = 0;