rootston: fix compilation without XWayland support

master
Bruno 7 years ago committed by Bruno Pinto
parent bf68854a38
commit ba5c0903f9
No known key found for this signature in database
GPG Key ID: 10EC5682FA9EF384

@ -593,10 +593,12 @@ static bool view_at(struct roots_view *view, double lx, double ly,
_surface = wlr_wl_shell_surface_surface_at(view->wl_shell_surface, _surface = wlr_wl_shell_surface_surface_at(view->wl_shell_surface,
view_sx, view_sy, &_sx, &_sy); view_sx, view_sy, &_sx, &_sy);
break; break;
#ifdef WLR_HAS_XWAYLAND
case ROOTS_XWAYLAND_VIEW: case ROOTS_XWAYLAND_VIEW:
_surface = wlr_surface_surface_at(view->wlr_surface, _surface = wlr_surface_surface_at(view->wlr_surface,
view_sx, view_sy, &_sx, &_sy); view_sx, view_sy, &_sx, &_sy);
break; break;
#endif
} }
if (_surface != NULL) { if (_surface != NULL) {
*sx = _sx; *sx = _sx;

Loading…
Cancel
Save