diff options
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r-- | sway/commands/bind.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index f6e58d99..4c67b3ce 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <wlr/types/wlr_cursor.h> | 8 | #include <wlr/types/wlr_cursor.h> |
9 | #include "sway/commands.h" | 9 | #include "sway/commands.h" |
10 | #include "sway/config.h" | 10 | #include "sway/config.h" |
11 | #include "sway/desktop/transaction.h" | ||
11 | #include "sway/input/cursor.h" | 12 | #include "sway/input/cursor.h" |
12 | #include "sway/input/keyboard.h" | 13 | #include "sway/input/keyboard.h" |
13 | #include "sway/ipc-server.h" | 14 | #include "sway/ipc-server.h" |
@@ -642,6 +643,8 @@ void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding) | |||
642 | if (success) { | 643 | if (success) { |
643 | ipc_event_binding(binding); | 644 | ipc_event_binding(binding); |
644 | } | 645 | } |
646 | |||
647 | transaction_commit_dirty(); | ||
645 | } | 648 | } |
646 | 649 | ||
647 | /** | 650 | /** |