aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-14 16:47:23 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-14 16:47:23 -0500
commit52670c636cf5115560ce6d20e2aaab1d55c49d0b (patch)
treeccbd3fd4722758c5f5d7fb557f1c719cd51082aa /sway/ipc-server.c
parentcleanup layout.c (diff)
downloadsway-52670c636cf5115560ce6d20e2aaab1d55c49d0b.tar.gz
sway-52670c636cf5115560ce6d20e2aaab1d55c49d0b.tar.zst
sway-52670c636cf5115560ce6d20e2aaab1d55c49d0b.zip
basic focus (without direction)
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index a16a2b80..ee259c99 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -336,6 +336,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
336 case IPC_COMMAND: 336 case IPC_COMMAND:
337 { 337 {
338 config_clear_handler_context(config); 338 config_clear_handler_context(config);
339 config->handler_context.seat = input_manager_current_seat(input_manager);
339 struct cmd_results *results = handle_command(buf); 340 struct cmd_results *results = handle_command(buf);
340 const char *json = cmd_results_to_json(results); 341 const char *json = cmd_results_to_json(results);
341 char reply[256]; 342 char reply[256];