sway/include
Brian Ashworth 6f6a9af60e Add helpers for improved mouse button parsing
The following helper functions have been added to aid with parsing mouse
buttons from a string:

1. `get_mouse_bindsym`: attempts to parse the string as an x11 button
(button[1-9]) or as an event name (ex BTN_LEFT or BTN_SIDE)
2. `get_mouse_bindcode`: attempts to parse the string as an event code
and validates that the event code is a button (starts with `BTN_`).
3. `get_mouse_button`: this is a conveniency function for callers that
do not care whether a bindsym or bindcode are used and attempts to parse
the string as a bindsym and then bindcode.

None of these functions are used in this commit. The sole purpose of
this commit is to make the larger set more granular and easier to
review/manipulate. There will be a series of commits following this one
that will modify any command which uses a mouse button to use these
helpers.
2019-01-09 11:29:04 -05:00
..
sway Add helpers for improved mouse button parsing 2019-01-09 11:29:04 -05:00
swaybar swaybar: handle SNI signals better 2019-01-08 12:18:59 +00:00
swaylock Add multiseat support to swaylock 2018-10-24 22:04:16 +10:00
swaynag Implement swaynag -B/--button-no-terminal 2018-11-27 23:34:51 -05:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h Use #if instead of #ifdef 2018-11-18 00:33:06 +01:00
ipc-client.h
ipc.h Add failure reply on IPC_SYNC 2018-12-29 17:07:26 +01:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Remove __PRETTY_FUNCTION__ 2018-09-06 13:31:57 +12:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
stringop.h stringop.c: rewrite strip_whitespace 2019-01-01 09:01:24 +00:00
unicode.h Add password buffer, refactor rendering/surfaces 2018-04-04 18:47:48 -04:00
util.h Add scroll factor config option. 2018-11-18 13:49:30 -05:00