diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-06-03 02:40:02 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-03 16:41:17 +0200 |
commit | 645cf76f8a47cc136df9edd4b1854b7e51679cde (patch) | |
tree | 9f51f543bef1ba38cb0b279c7d795a7c7890b368 /sway/commands/input/scroll_button.c | |
parent | 4edd4290536f76e484cbbc33e218b031c3ec365e (diff) |
transaction: Account for full size when centering content
The centering logic needs to take borders, titlebars and CSDs into
account. Instead of using the main surface geometry, use the container
and view geometry, which account for this.
Diffstat (limited to 'sway/commands/input/scroll_button.c')
0 files changed, 0 insertions, 0 deletions