mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 18:24:08 +00:00
[host] all: pass back the desktop rotation to the client
This commit is contained in:
@@ -203,11 +203,12 @@ static CaptureResult xcb_waitFrame(CaptureFrame * frame)
|
||||
{
|
||||
lgWaitEvent(this->frameEvent, TIMEOUT_INFINITE);
|
||||
|
||||
frame->width = this->width;
|
||||
frame->height = this->height;
|
||||
frame->pitch = this->width * 4;
|
||||
frame->stride = this->width;
|
||||
frame->format = CAPTURE_FMT_BGRA;
|
||||
frame->width = this->width;
|
||||
frame->height = this->height;
|
||||
frame->pitch = this->width * 4;
|
||||
frame->stride = this->width;
|
||||
frame->format = CAPTURE_FMT_BGRA;
|
||||
frame->rotation = CAPTURE_ROT_0;
|
||||
|
||||
return CAPTURE_RESULT_OK;
|
||||
}
|
||||
@@ -244,4 +245,4 @@ struct CaptureInterface Capture_XCB =
|
||||
.capture = xcb_capture,
|
||||
.waitFrame = xcb_waitFrame,
|
||||
.getFrame = xcb_getFrame
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user