tony / oxwm

fixed underline not showing (not recommended to use..) Browse files
tonybanters committed 2026-05-09 parent e4b7180 commit 01490889a85d8f1c4ddb57fb1b3dd02a4c9bc0a1
Showing 1 changed file with 2 additions and 2 deletions. UnifiedSplit
+2 −2 src/bar/systray.zig
@@ -82,7 +82,7 @@ pub const Systray = struct {
82 0, 82 0,
83 0, 83 0,
84 1, 84 1,
85 - @intCast(bar_height), 85 + @intCast(bar_height - 2),
86 0, 86 0,
87 0, 87 0,
88 0, 88 0,
@@ -418,7 +418,7 @@ pub const Systray = struct {
418 } 418 }
419 419
420 const total_width: u32 = if (x > 0) @intCast(x) else 1; 420 const total_width: u32 = if (x > 0) @intCast(x) else 1;
421 - _ = xlib.c.XResizeWindow(self.display, self.window, total_width, @intCast(self.bar_height)); 421 + _ = xlib.c.XResizeWindow(self.display, self.window, total_width, @intCast(self.bar_height - 2));
422 _ = xlib.XSync(self.display, xlib.False); 422 _ = xlib.XSync(self.display, xlib.False);
423 } 423 }
424 424