aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-07 18:17:57 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-07 18:17:57 -0500
commita7d49da23956c245f0e6b8f7dc9cb532eb14c4b9 (patch)
tree83f3d132a16e69deb4dbbdb8b4f8d1cda5964c27 /sway/commands.c
parentmake index_child static (diff)
downloadsway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.tar.gz
sway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.tar.zst
sway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.zip
separate seat get focus and seat get focus inactive
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 6bb4db0b..d8d29a1c 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -282,9 +282,7 @@ struct cmd_results *handle_command(char *_exec) {
282 } 282 }
283 if (seat) { 283 if (seat) {
284 config->handler_context.current_container = 284 config->handler_context.current_container =
285 (seat->has_focus ? 285 sway_seat_get_focus(seat);
286 sway_seat_get_focus(seat, &root_container) :
287 NULL);
288 struct cmd_results *res = handler->handle(argc-1, argv+1); 286 struct cmd_results *res = handler->handle(argc-1, argv+1);
289 if (res->status != CMD_SUCCESS) { 287 if (res->status != CMD_SUCCESS) {
290 free_argv(argc, argv); 288 free_argv(argc, argv);