sway/sway/commands
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
..
bar bar: free old position when changing 2018-07-15 21:47:22 +01:00
input Implement tap_button_map for input devices 2018-07-14 01:01:47 -04:00
output Add get_config message type to ipc 2018-07-10 12:37:37 +01:00
seat Fix border commands from changing focus 2018-05-20 23:12:33 -04:00
assign.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
bar.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
bind.c Parse mouse binding options 2018-07-23 21:14:22 -04:00
border.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
client.c Convert border_colors.text to float[4] 2018-05-03 08:14:17 -04:00
default_border.c Allow setting border widths for normal borders using default_border. 2018-05-10 23:35:37 -07:00
default_floating_border.c Implement default_floating_border command and adjust CSD behaviour 2018-07-17 10:14:33 +10:00
default_orientation.c Add default_orientation command 2018-03-30 10:43:55 -04:00
exec.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
exec_always.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
exit.c remove checks for command handlers 2018-02-24 13:22:57 -05:00
floating.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
floating_minmax_size.c Implement floating_minimum_size and floating_maximum_size 2018-07-11 22:16:48 +10:00
floating_modifier.c Remove unnecessary includes 2018-07-22 23:10:19 +10:00
focus.c Use parse_movement_direction 2018-07-19 20:17:48 +10:00
focus_follows_mouse.c Implement focus_follows_mouse 2018-03-31 13:05:45 -04:00
focus_wrapping.c Implement focus_wrapping 2018-05-27 23:20:21 -04:00
font.c Implement pango support 2018-05-06 08:25:22 +10:00
for_window.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
force_display_urgency_hint.c Fix urgent timer logic and remove unnecessary header includes 2018-07-21 10:28:07 +10:00
force_focus_wrapping.c Support i3's legacy force_focus_wrapping command 2018-05-28 11:09:46 -04:00
fullscreen.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
gaps.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
hide_edge_borders.c Implement hide_edge_borders 2018-05-11 18:44:56 -04:00
include.c Add include command 2017-12-05 18:47:57 +01:00
input.c Implement tap_button_map for input devices 2018-07-14 01:01:47 -04:00
kill.c address feedback 2018-04-03 19:23:59 -04:00
layout.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
mark.c Implement show_marks 2018-05-17 08:29:14 +10:00
mode.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
mouse_warping.c Implement mouse warping 2018-03-31 13:05:45 -04:00
move.c Implement scratchpad 2018-07-23 08:24:32 +10:00
no_focus.c Implement no_focus command 2018-07-16 22:18:12 +10:00
opacity.c Simplify damage tracking functions, use them in layer shell 2018-04-06 11:45:40 -04:00
output.c Reset outputs on reload 2018-07-20 22:17:20 -04:00
reload.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
rename.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
resize.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
scratchpad.c Store scratchpad list in sway_root instead of server 2018-07-23 08:24:32 +10:00
seat.c Address first round of review for generic blocks 2018-06-02 08:07:44 -04:00
set.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
show_marks.c Implement show_marks 2018-05-17 08:29:14 +10:00
smart_gaps.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
split.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
sticky.c Replace is_floating boolean with function 2018-06-01 23:14:58 +10:00
swap.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
swaybg_command.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
title_format.c Move code for re-arranging after font height change into a common place 2018-05-05 22:29:37 +10:00
unmark.c Implement show_marks 2018-05-17 08:29:14 +10:00
urgent.c Implement urgency base functionality 2018-07-16 08:19:25 +10:00
workspace.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
workspace_layout.c Implement config parser for workspace_layout 2018-05-28 22:55:06 -04:00
ws_auto_back_and_forth.c Add workspace_auto_back_and_forth command 2018-04-08 16:44:59 +02:00