aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.1.scd
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-03-31 11:42:25 +0200
committerBrian Ashworth <bosrsf04@gmail.com>2020-04-10 18:08:46 -0400
commit4d13cee59a51790cf66d08f79ace13ede75ffd63 (patch)
treef2131468efac161099d22e62d2f2a4a50395319e /sway/sway.1.scd
parent525b48ede795effb6ef61b7caf6ad333393cfd64 (diff)
Use bitshifts for bitfields
Instead of hardcoded power of 2 values, use bitshifts. This makes the enums more readable, avoids mistakes, and makes it clear how much of the int32_t bit space we have left. While at it, fix other minor style issues.
Diffstat (limited to 'sway/sway.1.scd')
0 files changed, 0 insertions, 0 deletions