sway-patched-tray-menu/include/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
..
desktop Simplify transactions 2018-08-15 10:03:55 +10:00
input Don't send motion if the cursor hasn't moved 2018-08-18 09:29:18 +10:00
tree Implement window_role criteria token 2018-09-04 08:23:50 +10:00
commands.h Implement focus_on_window_activation 2018-09-02 18:20:34 +10:00
config.h Deny repeating reload by holding key 2018-09-04 20:00:04 +10:00
criteria.h move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs" 2018-09-03 14:25:48 +02:00
debug.h Use enum for damage debug options 2018-08-19 16:17:24 +10:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +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 ipc: add binding event 2018-08-01 16:57:15 +01: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 Relocate container_move, container_move_to and container_get_in_direction 2018-08-25 12:09:42 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Standardise debug variables 2018-08-19 16:17:24 +10:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xwayland.h Implement window_type criteria token 2018-09-01 23:04:49 +10:00