aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/scroll_button.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-06-03 02:40:02 +0200
committerSimon Ser <contact@emersion.fr>2020-06-03 16:41:17 +0200
commit645cf76f8a47cc136df9edd4b1854b7e51679cde (patch)
tree9f51f543bef1ba38cb0b279c7d795a7c7890b368 /sway/commands/input/scroll_button.c
parent4edd4290536f76e484cbbc33e218b031c3ec365e (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