aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/workspace_buttons.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-04-25 23:19:51 +0200
committerSimon Ser <contact@emersion.fr>2021-04-26 09:24:12 +0200
commit7ec9d07fc597c739760df5223469e9f15340db78 (patch)
treed1f9cef4bef49ba5afa687a09379c50d0d3dcf30 /sway/commands/bar/workspace_buttons.c
parent80128d23ba9f0a6a92284b2c6077e304f35e7a76 (diff)
Remove usage of surface->sx|sy
These coordinates contain the all-time accumulated buffer attach point, which is a way to perform incremental client-side initiated movement of windows, intended as a way to maintain logical window positioning while compensating for layout changes such as folding in a left side panel. This value is not useful for implementing this feature, and break things if they ever become non-zero. Their inclusion in calculations also tend to cause confusion. Remove usage of these coordinates, removing the ability for clients to move themselves. This may again be supported if a better API is made available from wlroots.
Diffstat (limited to 'sway/commands/bar/workspace_buttons.c')
0 files changed, 0 insertions, 0 deletions