From 7c41460b14e9f125116aa790f31ddb5c09a5672c Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Tue, 23 Aug 2022 07:06:35 -0700 Subject: [PATCH] fix(wm): remove mstsc.exe from wsl2 ui proc list This commit removes mstsc.exe from WSL2_UI_PROCESSES. Recent changes to WSLg unfortunately mean that even with this exe being included in the override list, WSLg windows once again no longer tile correctly. On top of that, mstsc.exe is also used for traditional Windows RDP connections, so leaving this in the override list results in ghost window tiles for users connecting to other machines via RDP. Users who wish to keep mstsc.exe included in WSL2_UI_PROCESSES are welcome to maintain a fork of komorebi. My official recommendation for users wishing to run Linux GUI applications from WSL on Windows is to use VcXsrv, which is fully compatible with komorebi, and generall just a very mature, stable, tried and tested piece of software. fix #216 --- Cargo.lock | 16 ++++++++-------- komorebi/src/main.rs | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35104114..7eabf8f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -247,9 +247,9 @@ checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" [[package]] name = "either" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "eyre" @@ -548,9 +548,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.131" +version = "0.2.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40" +checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" [[package]] name = "lock_api" @@ -745,9 +745,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e" [[package]] name = "os_info" @@ -768,9 +768,9 @@ checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" [[package]] name = "owo-colors" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b" +checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parking_lot" diff --git a/komorebi/src/main.rs b/komorebi/src/main.rs index 75d0e521..81070231 100644 --- a/komorebi/src/main.rs +++ b/komorebi/src/main.rs @@ -100,7 +100,6 @@ lazy_static! { static ref BORDER_OVERFLOW_IDENTIFIERS: Arc>> = Arc::new(Mutex::new(vec![])); static ref WSL2_UI_PROCESSES: Arc>> = Arc::new(Mutex::new(vec![ "X410.exe".to_string(), - "mstsc.exe".to_string(), "vcxsrv.exe".to_string(), ])); static ref SUBSCRIPTION_PIPES: Arc>> =