swayfx/sway
frsfnrrg 754372c3de Parse mouse binding options
First, the existing sway_binding structure is given an
enumerated type code. As all flags to bindsym/bindcode
are boolean, a single uint32 is used to hold all flags.
The _BORDER, _CONTENTS, _TITLEBAR flags, when active,
indicate in which part of a container the binding can
trigger; to localize complexity, they do not overlap
with the command line arguments, which center around
_TITLEBAR being set by default.

The keyboard handling code is adjusted for this change,
as is binding_key_compare; note that BINDING_LOCKED
is *not* part of the key portion of the binding.

Next, list of mouse bindings is introduced and cleaned up.

Finally, the binding command parsing code is extended
to handle the case where bindsym is used to describe
a mouse binding rather than a keysym binding; the
difference between the two may be detected as late as
when the first key/button is parsed, or as early as
the first flag.  As bindings can have multiple
keycodes/keysyms/buttons, mixed keysym/button sequences
are prohibited.
2018-07-23 21:14:22 -04:00
..
commands Parse mouse binding options 2018-07-23 21:14:22 -04:00
config Reset outputs on reload 2018-07-20 22:17:20 -04:00
desktop fix crash on new output while swaylock is running 2018-07-23 19:35:40 +03:00
input Parse mouse binding options 2018-07-23 21:14:22 -04:00
tree Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement scratchpad 2018-07-23 08:24:32 +10:00
config.c Parse mouse binding options 2018-07-23 21:14:22 -04:00
criteria.c Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Mark containers as urgent in IPC if they have urgent views 2018-07-16 14:30:31 +10:00
ipc-server.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
main.c Fix deferred command handling 2018-07-19 01:39:58 -04:00
meson.build Implement scratchpad 2018-07-23 08:24:32 +10:00
scratchpad.c Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Implement tap_button_map for input devices 2018-07-14 01:01:47 -04:00
sway.1.scd Add sway(5) 2018-05-11 21:03:43 -04:00
sway.5.scd Add documentation for urgent command 2018-07-16 10:15:18 +10:00