diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-25 08:27:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-25 08:27:40 -0400 |
commit | fc718f629af231f8a0ae795b2f7529e213cab183 (patch) | |
tree | 7917aadbfb09d02d3d60045f0ba8d5028f0c4bb4 /sway/tree/container.c | |
parent | fd1e2c172c12b5c5a3adac8e6de4009697bd7567 (diff) | |
parent | 384c55c0b465d6b9a9c4cb88d8752435ac5cf708 (diff) | |
download | sway-fc718f629af231f8a0ae795b2f7529e213cab183.tar.xz |
Merge pull request #2350 from ppascher/xwayland-optional
Added meson option to allow building sway without xwayland support
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 4f743c40..b56b4e87 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -527,10 +527,12 @@ static struct sway_container *container_at_view(struct sway_container *swayc, double _sx, _sy; struct wlr_surface *_surface = NULL; switch (sview->type) { +#ifdef HAVE_XWAYLAND case SWAY_VIEW_XWAYLAND: _surface = wlr_surface_surface_at(sview->surface, view_sx, view_sy, &_sx, &_sy); break; +#endif case SWAY_VIEW_XDG_SHELL_V6: _surface = wlr_xdg_surface_v6_surface_at( sview->wlr_xdg_surface_v6, |