mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Windows Subsystem for Linux create extra windows that is blank - currently fixed by using float rule #61
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haininhhoang94 on GitHub (Nov 20, 2021).
The behaviour can be describe as:

"elements": [ { "name": null, "containers": { "elements": [ { "windows": { "elements": [ { "hwnd": 131858, "title": "LGUG2Z/komorebi: A tiling window manager for Windows and 4 more pages - Personal - Microsoft Edge", "exe": "msedge.exe", "class": "Chrome_WidgetWin_1", "rect": { "left": 13, "top": 20, "right": 1264, "bottom": 1359 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 592228, "title": "Output Painter Window", "exe": "mstsc.exe", "class": "OPContainerClass", "rect": { "left": 427, "top": 298, "right": 2560, "bottom": 1440 } } ], "focused": 0 } }, { "windows": { "elements": [ { "hwnd": 3082274, "title": "Input Capture Window", "exe": "mstsc.exe", "class": "IHWindowClass", "rect": { "left": 427, "top": 298, "right": 2560, "bottom": 1440 } } ], "focused": 0 } },The current solution is just floating the windows by the following command:
komorebic.exe float-rule exe mstsc.exe(can be add to the startup Powershell script)
I would like to help and I really love what you are doing here, but I am quite fresh to rust so it may takes some time for me to catch up 👍
@LGUG2Z commented on GitHub (Nov 20, 2021):
Thanks for the bug report! I have just pushed a commit to the master branch which ignores the classes associated with those two mstsc.exe input/output helper windows by default, while still allowing Linux GUI apps that are run through WSLg/mstsc.exe to be tiled by the window manager.
@meicale commented on GitHub (Jan 8, 2023):
How can I manage WSL2 GUI apps? I open several apps, but I cannot manage it properly. Occasionally, It works and for most of the time it doesn't. I maybe some config or commands may help. Thx!