diff options
author | Ćukasz Adamczak <14021+czak@users.noreply.github.com> | 2023-02-05 14:54:09 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-12 18:48:15 +0100 |
commit | 95c5d8d7b590c71cdcda8a6aac106ad731b69638 (patch) | |
tree | 61f902a4ff839fd9f75ae20e1782e8c51003e6dd /swaybar/tray/sni.c | |
parent | Apply new adaptive sync value from wlr-output-management (diff) | |
download | sway-95c5d8d7b590c71cdcda8a6aac106ad731b69638.tar.gz sway-95c5d8d7b590c71cdcda8a6aac106ad731b69638.tar.zst sway-95c5d8d7b590c71cdcda8a6aac106ad731b69638.zip |
Correct window_rect.y with hide_edge_borders
With `hide_edge_borders both` (or at least `vertical`),
`window_rect.y` will equal `border_thickness` for SOME windows,
but it will be 0 for windows adjacent to top screen edge.
Therefore setting it to `border_thickness` is not sufficient.
This commit changes it to the actual y offset of content
into the container.
(cherry picked from commit fadfbe8dbae4b3a840cc05fcfe67d74f5050a878)
Diffstat (limited to 'swaybar/tray/sni.c')
0 files changed, 0 insertions, 0 deletions