Merge pull request #2310 from RyanDwyer/assign-output

Implement assign to output
This commit is contained in:
Drew DeVault 2018-07-19 10:10:38 -07:00 committed by GitHub
commit da9c86c608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -564,7 +564,11 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
} }
focus = seat_get_focus_inactive(seat, workspace); focus = seat_get_focus_inactive(seat, workspace);
} else { } else {
// TODO: CT_ASSIGN_OUTPUT // CT_ASSIGN_OUTPUT
struct sway_container *output = output_by_name(criteria->target);
if (output) {
focus = seat_get_focus_inactive(seat, output);
}
} }
} }
// If we're about to launch the view into the floating container, then // If we're about to launch the view into the floating container, then