diff options
author | 2018-08-10 16:51:24 +1000 | |
---|---|---|
committer | 2018-08-12 10:45:54 +1000 | |
commit | f4280e506b9369d21769ee14bd2ab5e484fe4e76 (patch) | |
tree | f4c6951aca394d980b01e7d215eb8580d07c9492 /protocols/meson.build | |
parent | Implement resizing tiled containers via cursor (diff) | |
download | sway-f4280e506b9369d21769ee14bd2ab5e484fe4e76.tar.gz sway-f4280e506b9369d21769ee14bd2ab5e484fe4e76.tar.zst sway-f4280e506b9369d21769ee14bd2ab5e484fe4e76.zip |
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 'protocols/meson.build')
0 files changed, 0 insertions, 0 deletions