aboutsummaryrefslogtreecommitdiff
path: root/include/swaynag
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-10 16:51:24 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-12 10:45:54 +1000
commitf4280e506b9369d21769ee14bd2ab5e484fe4e76 (patch)
treef4c6951aca394d980b01e7d215eb8580d07c9492 /include/swaynag
parentb4a0363d1721b2ad2d5afb65764ecb575bd55fa4 (diff)
Refactor dispatch_cursor_button
There was a separate function dispatch_cursor_button_floating which dealt with the resize and move operations, but as resize is not really limited to floating views, it doesn't make as much sense to have this separate. So both functions are now combined into one. Additionally, dispatch_cursor_button now uses a pattern of returning early instead of using else-ifs.
Diffstat (limited to 'include/swaynag')
0 files changed, 0 insertions, 0 deletions