aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-07 19:20:25 -0400
committerGitHub <noreply@github.com>2018-04-07 19:20:25 -0400
commit5f48c7fddd6a28b529eb02ca156db577b76edfb6 (patch)
tree43fc157deb8ce85368a1846e4a943bca9a753bc1 /rootston
parentbf68854a38f867c3553d51394e78a6e17de1798c (diff)
parentba5c0903f9c288e7b617e537ef80eed2a42e08ed (diff)
Merge pull request #847 from bpinto/bugfix/compilation-without-xwayland-support
rootston: fix compilation without XWayland support
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
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;