Remove unused SWAY_VIEW_TYPES

This commit is contained in:
emersion 2018-04-04 15:53:46 -04:00 committed by Drew DeVault
parent 679c51e421
commit 8eff00f723
7 changed files with 34 additions and 40 deletions

View file

@ -66,7 +66,7 @@ static void seat_send_focus(struct sway_seat *seat,
return;
}
struct sway_view *view = con->sway_view;
if (view->type == SWAY_XWAYLAND_VIEW) {
if (view->type == SWAY_VIEW_XWAYLAND) {
struct wlr_xwayland *xwayland =
seat->input->server->xwayland;
wlr_xwayland_set_seat(xwayland, seat->wlr_seat);