mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Active Window Border Focus incorrect on stacking / unstacking #194
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 @AlexRumak on GitHub (Apr 15, 2023).
Describe the bug
Borders are not accurate after unstacking, or stacking windows. Specifically, with these lines uncommented in the default
komorebi.ps1file:komorebic active-window-border-colour 66 165 245 --window-kind single
komorebic active-window-border-colour 256 165 66 --window-kind stack
komorebic active-window-border enable
When you stack or unstack, the border remains for the previous focus, while it should refocus.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect teh focus to accurately match the end result of stacking / unstacking without having to refocus.
Screenshots and Videos

and
Operating System
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22621 N/A Build 22621
Additional context
Add any other context about the problem here.
In particular, if you have any other AHK scripts or software running that handle any aspect of window management or manipulation
@LGUG2Z commented on GitHub (Apr 16, 2023):
I don't use the stacking feature much, I will play around with this next time I'm using Windows and try to reproduce and propose a fix. 👌
@LGUG2Z commented on GitHub (Apr 16, 2023):
Reproduced and fixed ^
@AlexRumak commented on GitHub (Apr 16, 2023):
That was fast! Thanks!