mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
separate seat get focus and seat get focus inactive
This commit is contained in:
parent
7d8f2c52aa
commit
a7d49da239
7 changed files with 30 additions and 24 deletions
|
|
@ -282,9 +282,7 @@ struct cmd_results *handle_command(char *_exec) {
|
|||
}
|
||||
if (seat) {
|
||||
config->handler_context.current_container =
|
||||
(seat->has_focus ?
|
||||
sway_seat_get_focus(seat, &root_container) :
|
||||
NULL);
|
||||
sway_seat_get_focus(seat);
|
||||
struct cmd_results *res = handler->handle(argc-1, argv+1);
|
||||
if (res->status != CMD_SUCCESS) {
|
||||
free_argv(argc, argv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue