aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/keyboard.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-30 13:20:02 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-02 08:07:44 -0400
commit7c810dc344c28d1876c5ee158cb0806289d0f813 (patch)
treedbe756bceca42ea6f9a6cf5e5771037417bb64c3 /sway/input/keyboard.c
parentMerge pull request #2080 from frsfnrrg/keyboard-remodeling (diff)
downloadsway-7c810dc344c28d1876c5ee158cb0806289d0f813.tar.gz
sway-7c810dc344c28d1876c5ee158cb0806289d0f813.tar.zst
sway-7c810dc344c28d1876c5ee158cb0806289d0f813.zip
Make command block implementation generic
Diffstat (limited to 'sway/input/keyboard.c')
-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,
98 struct sway_binding *binding) { 98 struct sway_binding *binding) {
99 wlr_log(L_DEBUG, "running command for binding: %s", 99 wlr_log(L_DEBUG, "running command for binding: %s",
100 binding->command); 100 binding->command);
101 config_clear_handler_context(config);
102 config->handler_context.seat = keyboard->seat_device->sway_seat; 101 config->handler_context.seat = keyboard->seat_device->sway_seat;
103 struct cmd_results *results = execute_command(binding->command, NULL); 102 struct cmd_results *results = execute_command(binding->command, NULL);
104 if (results->status != CMD_SUCCESS) { 103 if (results->status != CMD_SUCCESS) {