fixed underline not showing (not recommended to use..)
Browse files
+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 | ||