diff options
author | emersion <contact@emersion.fr> | 2018-01-28 21:38:29 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-28 21:38:29 +0100 |
commit | be888df4c37e33c33ae0a7bb2a1b512538ee0d35 (patch) | |
tree | 3bdb91a09e9a6990973d97e5887ed8f705f0f88c | |
parent | e049610b47b2d6191e1b0feb72eda1431d12f37c (diff) |
rootston: fix build without xwayland
-rw-r--r-- | rootston/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c index c46ba115..14840e5b 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -518,6 +518,7 @@ static bool view_accept_damage(struct roots_output *output, if (output->fullscreen_view == view) { return true; } +#ifdef WLR_HAS_XWAYLAND if (output->fullscreen_view->type == ROOTS_XWAYLAND_VIEW && view->type == ROOTS_XWAYLAND_VIEW) { // Special case: accept damage from children @@ -529,6 +530,7 @@ static bool view_accept_damage(struct roots_output *output, xsurface = xsurface->parent; } } +#endif return false; } |