Skip to content

Commit

Permalink
fix(border): remove windows accent from monocle on restore
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Oct 4, 2024
1 parent fe9b7e5 commit 216154b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions komorebi/src/window_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,14 @@ impl WindowManager {

for monitor in self.monitors_mut() {
for workspace in monitor.workspaces_mut() {
if let Some(monocle) = workspace.monocle_container() {
for window in monocle.windows() {
if matches!(border_implementation, BorderImplementation::Windows) {
window.remove_accent()?;
}
}
}

for containers in workspace.containers_mut() {
for window in containers.windows_mut() {
if no_titlebar.contains(&window.exe()?) {
Expand Down

0 comments on commit 216154b

Please sign in to comment.