mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Support xwayland view resize (LAB_DECO_PART_LEFT)
This commit is contained in:
parent
9a0c2b8417
commit
e716a92c00
7 changed files with 118 additions and 49 deletions
4
view.c
4
view.c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue