mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 01:58:51 +02:00
fix(border): remove windows accent from monocle on restore
This commit is contained in:
@@ -968,6 +968,14 @@ impl WindowManager {
|
|||||||
|
|
||||||
for monitor in self.monitors_mut() {
|
for monitor in self.monitors_mut() {
|
||||||
for workspace in monitor.workspaces_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 containers in workspace.containers_mut() {
|
||||||
for window in containers.windows_mut() {
|
for window in containers.windows_mut() {
|
||||||
if no_titlebar.contains(&window.exe()?) {
|
if no_titlebar.contains(&window.exe()?) {
|
||||||
|
|||||||
Reference in New Issue
Block a user