separate seat get focus and seat get focus inactive

This commit is contained in:
Tony Crisci 2018-02-07 18:17:57 -05:00
parent 7d8f2c52aa
commit a7d49da239
7 changed files with 30 additions and 24 deletions

View file

@ -91,7 +91,7 @@ struct cmd_results *cmd_workspace(int argc, char **argv) {
}
workspace_switch(ws);
current_container =
sway_seat_get_focus(config->handler_context.seat, &root_container);
sway_seat_get_focus(config->handler_context.seat);
swayc_t *new_output = swayc_parent_by_type(current_container, C_OUTPUT);
if (config->mouse_warping && old_output != new_output) {