From ba5c0903f9c288e7b617e537ef80eed2a42e08ed Mon Sep 17 00:00:00 2001 From: Bruno Date: Sat, 7 Apr 2018 23:24:54 +0100 Subject: rootston: fix compilation without XWayland support --- rootston/desktop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rootston') diff --git a/rootston/desktop.c b/rootston/desktop.c index f1afe2c9..4f5d3394 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -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, view_sx, view_sy, &_sx, &_sy); break; +#ifdef WLR_HAS_XWAYLAND case ROOTS_XWAYLAND_VIEW: _surface = wlr_surface_surface_at(view->wlr_surface, view_sx, view_sy, &_sx, &_sy); break; +#endif } if (_surface != NULL) { *sx = _sx; -- cgit v1.2.3