mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -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
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue