aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-02 08:09:18 -0700
committerGitHub <noreply@github.com>2018-06-02 08:09:18 -0700
commitb0f2fd94791708a84aac2eccc57855a4ce8b6ec0 (patch)
tree919f22247b71c5562b3c1caff4f0bfa9dfcf0528 /sway/input
parent2d480e754e8287ba747faf1b21d8ecb927d565a1 (diff)
parent85a5c8dabd2561dfe616bea50faf2549e8cb345e (diff)
Merge pull request #2070 from RedSoxFan/generic-config-blocks
Make command block implementation generic
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/keyboard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index 420cefa6..d90655f2 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -98,7 +98,6 @@ static void keyboard_execute_command(struct sway_keyboard *keyboard,
struct sway_binding *binding) {
wlr_log(L_DEBUG, "running command for binding: %s",
binding->command);
- config_clear_handler_context(config);
config->handler_context.seat = keyboard->seat_device->sway_seat;
struct cmd_results *results = execute_command(binding->command, NULL);
if (results->status != CMD_SUCCESS) {