oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

updated border width to 0 when in fullscreen mode

Commit
fa112f897c50c4977ca586070e873782a725f00c
Parent
3b3c45c
Author
tonybanters <tonybanters@gmail.com>
Date
2025-12-13 00:36:37

Diff

diff --git a/src/window_manager.rs b/src/window_manager.rs
index 8c55374..3048376 100644
--- a/src/window_manager.rs
+++ b/src/window_manager.rs
@@ -1452,6 +1452,14 @@ impl WindowManager {
             self.toggle_bar()?;
             self.apply_layout()?;
 
+            for window in &windows {
+                self.connection.configure_window(
+                    *window,
+                    &x11rb::protocol::xproto::ConfigureWindowAux::new()
+                        .border_width(0),
+                )?;
+            }
+
             let border_width = self.config.border_width;
             let floating_windows: Vec<Window> = windows
                 .iter()