updated border width to 0 when in fullscreen mode
Browse files
+8 −0 src/window_manager.rs
| @@ -1452,6 +1452,14 @@ impl WindowManager { | |||
| 1452 | self.toggle_bar()?; | 1452 | self.toggle_bar()?; |
| 1453 | self.apply_layout()?; | 1453 | self.apply_layout()?; |
| 1454 | 1454 | ||
| 1455 | + for window in &windows { | ||
| 1456 | + self.connection.configure_window( | ||
| 1457 | + *window, | ||
| 1458 | + &x11rb::protocol::xproto::ConfigureWindowAux::new() | ||
| 1459 | + .border_width(0), | ||
| 1460 | + )?; | ||
| 1461 | + } | ||
| 1462 | + | ||
| 1455 | let border_width = self.config.border_width; | 1463 | let border_width = self.config.border_width; |
| 1456 | let floating_windows: Vec<Window> = windows | 1464 | let floating_windows: Vec<Window> = windows |
| 1457 | .iter() | 1465 | .iter() |