mirror of
https://github.com/swaywm/sway.git
synced 2026-03-31 07:11:24 -04: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
|
|
@ -135,7 +135,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
|
|||
wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy);
|
||||
|
||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||
swayc_t *focus = sway_seat_get_focus(seat, &root_container);
|
||||
swayc_t *focus = sway_seat_get_focus_inactive(seat, &root_container);
|
||||
swayc_t *cont = new_view(focus, sway_view);
|
||||
sway_view->swayc = cont;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue