mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-16 01:52:48 +02:00
fix(borders): remove monocle accents on shutdown
This commit is contained in:
@@ -962,10 +962,16 @@ impl WindowManager {
|
|||||||
pub fn remove_all_accents(&mut self) -> Result<()> {
|
pub fn remove_all_accents(&mut self) -> Result<()> {
|
||||||
tracing::info!("removing all window accents");
|
tracing::info!("removing all window accents");
|
||||||
|
|
||||||
for monitor in self.monitors_mut() {
|
for monitor in self.monitors() {
|
||||||
for workspace in monitor.workspaces_mut() {
|
for workspace in monitor.workspaces() {
|
||||||
for containers in workspace.containers_mut() {
|
if let Some(monocle) = workspace.monocle_container() {
|
||||||
for window in containers.windows_mut() {
|
for window in monocle.windows() {
|
||||||
|
window.remove_accent()?
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for containers in workspace.containers() {
|
||||||
|
for window in containers.windows() {
|
||||||
window.remove_accent()?;
|
window.remove_accent()?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user