diff options
author | Ćukasz Adamczak <14021+czak@users.noreply.github.com> | 2023-02-05 14:54:09 +0100 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2023-02-10 11:17:50 -0700 |
commit | fadfbe8dbae4b3a840cc05fcfe67d74f5050a878 (patch) | |
tree | eded9c8792b0f4a7971cd164b6d51cb7f02199ab /sway/commands/input/xkb_model.c | |
parent | 1b27e8c8fdc413a061e8b003bcabfb7b789c6a90 (diff) |
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.
Diffstat (limited to 'sway/commands/input/xkb_model.c')
0 files changed, 0 insertions, 0 deletions