sway-patched-tray-menu/include/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
..
desktop Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
input Store last button and use it when views request to move or resize 2018-07-22 23:10:19 +10:00
tree Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
commands.h Implement floating_modifier and mouse operations for floating views 2018-07-22 23:10:19 +10:00
config.h Parse mouse binding options 2018-07-23 21:14:22 -04:00
criteria.h Implement no_focus command 2018-07-16 22:18:12 +10:00
debug.h Add extended debugging flags 2018-07-14 20:44:32 -04:00
desktop.h Implement some floating move commands 2018-07-09 23:38:29 +10:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h Implement mode --pango_markup 2018-07-05 18:12:14 -04:00
layers.h sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
output.h Remove duplicate function declaration and add assertion 2018-07-09 23:41:00 +10:00
scratchpad.h Implement scratchpad 2018-07-23 08:24:32 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
xwayland.h Automatically float xwayland windows 2018-06-18 22:52:10 +01:00