tony / oxwm

Testing display 1 dequeue accumulator Browse files
tonybtw committed 2025-12-21 parent 8e7c5c6 commit f5e670cd5bec5568c9ced7f61e5707b9df2bec59
Showing 2 changed files with 2 additions and 2 deletions. UnifiedSplit
+1 −1 src/bar/bar.rs
@@ -362,7 +362,7 @@ impl Bar {
362 0, 362 0,
363 ); 363 );
364 x11::xlib::XFreeGC(display, gc); 364 x11::xlib::XFreeGC(display, gc);
365 - x11::xlib::XSync(display, 0); 365 + x11::xlib::XSync(display, 1);
366 } 366 }
367 367
368 self.needs_redraw = false; 368 self.needs_redraw = false;
+1 −1 src/bar/font.rs
@@ -135,7 +135,7 @@ impl FontDraw {
135 pub fn sync(&self) { 135 pub fn sync(&self) {
136 unsafe { 136 unsafe {
137 let display = x11::xft::XftDrawDisplay(self.xft_draw); 137 let display = x11::xft::XftDrawDisplay(self.xft_draw);
138 - x11::xlib::XSync(display, 0); 138 + x11::xlib::XSync(display, 1);
139 } 139 }
140 } 140 }
141 } 141 }