mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
rootston: fix build without xwayland
This commit is contained in:
parent
e049610b47
commit
be888df4c3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue