swayfx/sway/input
Ryan Dwyer 7797490e9e Deny repeating reload by holding key
Fixes #2568

The binding that gets stored in the keyboard's `repeat_binding` would
get freed on reload, leaving a dangling pointer.

Rather than attempt to unset the keyboard's `repeat_binding` along with
the other bindings, I opted to just not set it for the reload command
because there's no point in reloading repeatedly by holding the binding.
This disables repeat bindings for the reload command.

As we now need to detect whether it's a reload command in two places,
I've added a binding flag to track whether it's a reload or not.
2018-09-04 20:00:04 +10:00
..
cursor.c Remove layout.c 2018-08-26 12:05:16 +10:00
input-manager.c Add virtual keyboard protocol 2018-07-28 20:47:56 -04:00
keyboard.c Deny repeating reload by holding key 2018-09-04 20:00:04 +10:00
seat.c Merge pull request #2544 from RyanDwyer/fix-deferred-cmd-crash 2018-09-01 13:00:26 -04:00