gardesk/gar / 89073c5

Browse files

fix: flush after focus change for immediate response

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
89073c5498b34941fa7bbc07847d3aef6b182155
Parents
fd402f6
Tree
d7c3eb4

1 changed file

StatusFile+-
M gar/src/x11/events.rs 1 0
gar/src/x11/events.rsmodified
@@ -372,6 +372,7 @@ impl WindowManager {
372372
             // Focus new window
373373
             self.set_focus(target)?;
374374
             self.conn.ungrab_button(target)?;
375
+            self.conn.flush()?;
375376
 
376377
             tracing::debug!("Focused {:?} to window {}", direction, target);
377378
         }