Electron applications not respecting Windows border conventions are not correctly placed #26

Closed
opened 2026-01-05 14:47:46 +01:00 by adam · 0 comments
Owner

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

Originally assigned to: @LGUG2Z on GitHub.

Some Electron applications such as Spotify and Discord do not respect the Windows invisible border conventions, and instead find a way to push the client area to draw over the invisible borders, essentially removing the invisible borders by drawing over them.

This means that by default, komorebi is placing them in an incorrect position which is off by the default invisible border offset:

let border = Rect {
    left: 12,
    top: 0,
    right: 24,
    bottom: 12,
};

A komorebic command should be added to identify these applications so that the invisible border removal logic when positioning windows can be skipped conditionally based on what the user has configured.

Originally created by @LGUG2Z on GitHub (Sep 13, 2021). Originally assigned to: @LGUG2Z on GitHub. Some Electron applications such as Spotify and Discord do not respect the Windows invisible border conventions, and instead find a way to push the client area to draw over the invisible borders, essentially removing the invisible borders by drawing over them. This means that by default, `komorebi` is placing them in an incorrect position which is off by the default invisible border offset: ``` let border = Rect { left: 12, top: 0, right: 24, bottom: 12, }; ``` A `komorebic` command should be added to identify these applications so that the invisible border removal logic when positioning windows can be skipped conditionally based on what the user has configured.
adam added the enhancement label 2026-01-05 14:47:46 +01:00
adam closed this issue 2026-01-05 14:47:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#26