aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-06 12:56:21 +0200
committerGitHub <noreply@github.com>2018-09-06 12:56:21 +0200
commit8e2a2e5ca457c73a62857bd9860c8e34d07ab78e (patch)
treeff0b87cfe7158e00501e9dc8a571e3b8cce2dbe0 /sway/tree/output.c
parent6ab38ba098cbdbc88dd0460dcd24b24c2c548d07 (diff)
parent908095ef9a479cafaf7d815824f243b4576ff1bb (diff)
downloadsway-8e2a2e5ca457c73a62857bd9860c8e34d07ab78e.tar.xz
Merge pull request #2589 from RyanDwyer/seat-set-focus-type
Introduce seat_set_focus_container and seat_set_focus_workspace
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r--sway/tree/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index 201e767f..1976ad51 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -85,7 +85,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) {
struct sway_seat *seat = NULL;
wl_list_for_each(seat, &input_manager->seats, link) {
if (!seat->has_focus) {
- seat_set_focus(seat, &ws->node);
+ seat_set_focus_workspace(seat, ws);
}
}
free(ws_name);