Support xwayland view resize (LAB_DECO_PART_LEFT)

This commit is contained in:
Johan Malm 2020-05-25 13:42:40 +01:00
parent 9a0c2b8417
commit e716a92c00
7 changed files with 118 additions and 49 deletions

4
view.c
View file

@ -165,6 +165,10 @@ struct view *view_at(struct server *server, double lx, double ly,
*view_area = LAB_DECO_PART_TOP;
return view;
}
if (deco_at(view, lx, ly) == LAB_DECO_PART_LEFT) {
*view_area = LAB_DECO_PART_LEFT;
return view;
}
}
return NULL;
}