mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Clicking on the border of a window next to the focused window swaps their tiles #584
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 @Insprill on GitHub (Mar 5, 2025).
Summary
When two windows are side-by-side, and you click the border of the unfocused window, it will swap the position of both windows. If the two windows are above/below each other, this does not happen. I constantly do this by accident, and it's been driving me crazy.
https://github.com/user-attachments/assets/a7160782-f141-415a-8b75-acf9d2b123ea
Version Information
Komorebi Configuration
d1619386cb/dot_config/komorebi/komorebi.jsonHotkey Configuration
d1619386cb/dot_config/autohotkey/komorebi.ahkOutput of komorebic check
(
KOMOREBI_CONFIG_HOMEis set with wpm, and it picks up my config there fine)@LGUG2Z commented on GitHub (Mar 5, 2025):
I have a feeling this is just an artifact of how close the pixels are when there is 0 container padding and the border width is relatively slim, and how even a little bit of pixel drift from mouse down to mouse up can initiate a container swap (origin container -> target container) - can you try to reproduce this (ie. clicking on the border of an unfocused window next to the focused window) with either larger container padding, border width, or both?
@Insprill commented on GitHub (Mar 5, 2025):
It does not happen with a large border width. With my usual settings, I can still reproduce with my mouse picked up off my desk, so it's not moving during the click.