diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-06-11 18:07:42 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-06-15 20:23:38 +0300 |
commit | 51be2ca7b38cacb368a9b49423dae7e3c84a4b98 (patch) | |
tree | 1ebdb7149bed4ae0dcd574c29c18a9f85ee22925 /shared/os-compatibility.c | |
parent | 7854caaca193dbc68c7384f21233a1637ab0382e (diff) |
layout: Clip the view to the size specified by width and height
This uses the bx and by as origin for the bounding box if those were
passed on. The compositor will set up a mask clip for the window if the
both width and height are positive.
This also removes the geometry of the surface and passes the x and y values
directly.
Bug-AGL: SPEC-3419
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I174f1ccbffad3c99e74fbb5ee90888b4ad879230
Diffstat (limited to 'shared/os-compatibility.c')
0 files changed, 0 insertions, 0 deletions