mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
ipc: add window::focus event
This commit is contained in:
parent
f0310933c8
commit
dd1d6255f0
@ -766,6 +766,10 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (container->type == C_VIEW) {
|
||||||
|
ipc_event_window(container, "focus");
|
||||||
|
}
|
||||||
|
|
||||||
seat->has_focus = (container != NULL);
|
seat->has_focus = (container != NULL);
|
||||||
|
|
||||||
update_debug_tree();
|
update_debug_tree();
|
||||||
|
Loading…
Reference in New Issue
Block a user