diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-07 18:17:57 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-07 18:17:57 -0500 |
commit | a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9 (patch) | |
tree | 83f3d132a16e69deb4dbbdb8b4f8d1cda5964c27 /sway/desktop | |
parent | make index_child static (diff) | |
download | sway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.tar.gz sway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.tar.zst sway-a7d49da23956c245f0e6b8f7dc9cb532eb14c4b9.zip |
separate seat get focus and seat get focus inactive
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 04d89015..b44d9e54 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -135,7 +135,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { | |||
135 | wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy); | 135 | wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy); |
136 | 136 | ||
137 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 137 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
138 | swayc_t *focus = sway_seat_get_focus(seat, &root_container); | 138 | swayc_t *focus = sway_seat_get_focus_inactive(seat, &root_container); |
139 | swayc_t *cont = new_view(focus, sway_view); | 139 | swayc_t *cont = new_view(focus, sway_view); |
140 | sway_view->swayc = cont; | 140 | sway_view->swayc = cont; |
141 | 141 | ||