Make invisible border compensation configurable #29

Closed
opened 2026-01-05 14:47:47 +01:00 by adam · 1 comment
Owner

Originally created by @LGUG2Z on GitHub (Sep 15, 2021).

Originally assigned to: @LGUG2Z on GitHub.

This update seems to have changed the invisible borders around windows on my machine.

Currently, the amount that komorebi tries to compensate for the invisible Windows 10 borders is hard coded here, but given that these values are subject to change from update to update, it seems like a good idea to make this configurable via komorebic.

For reference, the correct values to compensate by on my machine are now:

let border = Rect {
    left: 7,
    top: 0,
    right: 14,
    bottom: 7,
};
Originally created by @LGUG2Z on GitHub (Sep 15, 2021). Originally assigned to: @LGUG2Z on GitHub. [This update](https://support.microsoft.com/en-us/topic/september-1-2021-kb5005101-os-builds-19041-1202-19042-1202-and-19043-1202-preview-82a50f27-a56f-4212-96ce-1554e8058dc1) seems to have changed the invisible borders around windows on my machine. Currently, the amount that `komorebi` tries to compensate for the invisible Windows 10 borders is [hard coded here](https://github.com/LGUG2Z/komorebi/blob/ff53533da05e19a22ed1e17838f2c1681136425d/komorebi/src/window.rs#L123), but given that these values are subject to change from update to update, it seems like a good idea to make this configurable via `komorebic`. For reference, the correct values to compensate by on my machine are now: ```rust let border = Rect { left: 7, top: 0, right: 14, bottom: 7, }; ```
adam added the enhancement label 2026-01-05 14:47:47 +01:00
adam closed this issue 2026-01-05 14:47:47 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Sep 15, 2021):

Note: Also needs to be updated here: ff53533da0/komorebi/src/process_event.rs (L222)

@LGUG2Z commented on GitHub (Sep 15, 2021): Note: Also needs to be updated here: https://github.com/LGUG2Z/komorebi/blob/ff53533da05e19a22ed1e17838f2c1681136425d/komorebi/src/process_event.rs#L222
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#29