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 if is_selected { 142 if is_selected {
143 let underline_height = 2; 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 connection.change_gc( 148 connection.change_gc(
146 self.graphics_context, 149 self.graphics_context,
147 &ChangeGCAux::new().foreground(scheme.border), 150 &ChangeGCAux::new().foreground(scheme.border),
@@ -151,7 +154,7 @@ impl Bar {
151 self.graphics_context, 154 self.graphics_context,
152 &[Rectangle { 155 &[Rectangle {
153 x: x_position, 156 x: x_position,
154 - y: (self.height - underline_height - spacing_from_text) as i16, 157 + y: underline_y,
155 width: tag_width, 158 width: tag_width,
156 height: underline_height, 159 height: underline_height,
157 }], 160 }],