mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-10 23:22:43 +02:00
fix(wm): detach thread inputs explicitly
This commit ensures that any calls to AttachThreadInput which are used to allow the focusing or raising of a window are paired with a closing call to detach the thread input. Although undocumented, it seems that when attaching the input thread of a window to an admin/sudo process, this prevents that window from handling inputs from any unelevated processes (including regular keyboard and mouse inputs), until the input thread is detached. fix #86
This commit is contained in:
@@ -311,6 +311,11 @@ Run, komorebic.exe float-rule exe "TranslucentTB.exe", , Hide
|
||||
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
|
||||
Run, komorebic.exe identify-tray-application exe "TranslucentTB.exe", , Hide
|
||||
|
||||
; Unreal Editor
|
||||
Run, komorebic.exe identify-border-overflow-application exe "UnrealEditor.exe", , Hide
|
||||
; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line
|
||||
Run, komorebic.exe identify-tray-application exe "UnrealEditor.exe", , Hide
|
||||
|
||||
; Visual Studio Code
|
||||
Run, komorebic.exe identify-border-overflow-application exe "Code.exe", , Hide
|
||||
|
||||
|
||||
Reference in New Issue
Block a user