fix decorations on wayland backend

This commit is contained in:
Tony Crisci 2018-01-23 07:11:54 -05:00
parent 9d87d4e336
commit fc627afd18
3 changed files with 8 additions and 3 deletions

View file

@ -400,7 +400,8 @@ static bool view_at(struct roots_view *view, double lx, double ly,
if (view_get_deco_part(view, view_sx, view_sy)) {
*sx = view_sx;
*sy = view_sy;
return view;
*surface = NULL;
return true;
}
if (wlr_box_contains_point(&box, view_sx, view_sy) &&