Implement support for KMS cursor plane capture (#1981)
This commit is contained in:
parent
791ed48a3f
commit
f88df0f596
6 changed files with 329 additions and 55 deletions
|
|
@ -883,8 +883,8 @@ namespace platf {
|
|||
}
|
||||
|
||||
img.data = img.buffer.data();
|
||||
img.width = xcursor->width;
|
||||
img.height = xcursor->height;
|
||||
img.width = img.src_w = xcursor->width;
|
||||
img.height = img.src_h = xcursor->height;
|
||||
img.x = xcursor->x - xcursor->xhot;
|
||||
img.y = xcursor->y - xcursor->yhot;
|
||||
img.pixel_pitch = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue