sway-patched-tray-menu/include
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
..
sway Parse mouse binding options 2018-07-23 21:14:22 -04:00
swaybar swaybar: Fix scroll handling on workspace buttons 2018-07-19 21:15:01 +02:00
swaygrab implement "focused container" feature for swaygrab 2016-09-18 16:41:08 -05:00
swaylock Implement swaylock customization flags 2018-07-10 21:29:15 -04:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h Address review comments 2018-03-28 14:43:23 -04:00
ipc-client.h swaybar: move core functionality to state.c 2016-01-24 14:22:19 +01:00
ipc.h Remove clipboard command and get_clipboard message 2018-07-10 22:09:21 +01:00
list.h Move floating windows to front when focused 2018-07-11 19:50:02 +10:00
log.h Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Change scale from int32_t to double for pango 2018-05-16 12:01:04 -04:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
readline.h Address emersion's feedback on peek_line 2018-06-02 08:07:44 -04:00
stringop.h Clean up container title functions 2018-05-25 21:07:59 +10:00
unicode.h Add password buffer, refactor rendering/surfaces 2018-04-04 18:47:48 -04:00
util.h Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00