tony / oxwm

updates Browse files
tonybanters committed 2025-10-03 parent 6d4ea3d commit 9e2494e5b709472429a827331578e9679847ea1e
Showing 1 changed file with 5 additions and 2 deletions. UnifiedSplit
+5 −2 src/bar/bar.rs
@@ -141,7 +141,10 @@ impl Bar {
141 141
142 142 if is_selected {
143 143 let underline_height = 2;
144 - let spacing_from_text = 3;
144 + let spacing_from_text = 4;
145 +
146 + let underline_y = text_y + spacing_from_text;
147 +
145 148 connection.change_gc(
146 149 self.graphics_context,
147 150 &ChangeGCAux::new().foreground(scheme.border),
@@ -151,7 +154,7 @@ impl Bar {
151 154 self.graphics_context,
152 155 &[Rectangle {
153 156 x: x_position,
154 - y: (self.height - underline_height - spacing_from_text) as i16,
157 + y: underline_y,
155 158 width: tag_width,
156 159 height: underline_height,
157 160 }],