ipc: add window::focus event

master
Ian Fan 6 years ago
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);
update_debug_tree();

Loading…
Cancel
Save