sway/sway
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
..
commands Deny repeating reload by holding key 2018-09-04 20:00:04 +10:00
config Do not modeset disabled outputs 2018-09-01 18:56:53 +02:00
desktop Implement window_role criteria token 2018-09-04 08:23:50 +10:00
input Deny repeating reload by holding key 2018-09-04 20:00:04 +10:00
tree Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE 2018-09-03 09:08:49 +02:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE 2018-09-03 09:08:49 +02:00
config.c Remove layout.c 2018-08-26 12:05:16 +10:00
criteria.c Implement window_role criteria token 2018-09-04 08:23:50 +10:00
debug-tree.c Remove layout.c 2018-08-26 12:05:16 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c Add app_id and class to get_tree output 2018-08-21 20:51:01 -04:00
ipc-server.c prevent ub caused by misaligned stores/loads 2018-09-02 17:07:12 -07:00
main.c Enable privilege dropping of FreeBSD 2018-08-30 10:33:48 +02:00
meson.build Implement focus_on_window_activation 2018-09-02 18:20:34 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Merge remote-tracking branch 'upstream/master' into fix-freebsd-build 2018-09-03 08:57:17 +02:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00