tony / oxwm

fixed dunst notifications and in general fixed focus -> restack Browse files
tonybtw committed 2025-12-13 parent fa112f8 commit ff0f23e0a2c5f350a5e8e2340fba7ca710c3fa46
Showing 1 changed file with 2 additions and 1 deletions. UnifiedSplit
+2 −1 src/window_manager.rs
@@ -2073,7 +2073,6 @@ impl WindowManager {
2073 2073 }
2074 2074 }
2075 2075
2076 - self.restack()?;
2077 2076 self.connection.flush()?;
2078 2077
2079 2078 Ok(())
@@ -3012,6 +3011,7 @@ impl WindowManager {
3012 3011 }
3013 3012 } else if event.child != x11rb::NONE {
3014 3013 self.focus(Some(event.child))?;
3014 + self.restack()?;
3015 3015 self.update_tab_bars()?;
3016 3016
3017 3017 let state_clean = u16::from(event.state)
@@ -3036,6 +3036,7 @@ impl WindowManager {
3036 3036 }
3037 3037 } else if self.windows.contains(&event.event) {
3038 3038 self.focus(Some(event.event))?;
3039 + self.restack()?;
3039 3040 self.update_tab_bars()?;
3040 3041
3041 3042 let state_clean = u16::from(event.state)