summaryrefslogtreecommitdiffstats
path: root/x11vnc/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/scan.c')
-rw-r--r--x11vnc/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/scan.c b/x11vnc/scan.c
index af81cea..03a37a0 100644
--- a/x11vnc/scan.c
+++ b/x11vnc/scan.c
@@ -2608,6 +2608,8 @@ static void snap_vcsa_rawfb(void) {
fake_screen->frameBuffer = snap->data;
fake_screen->paddedWidthInBytes = snap->bytes_per_line;
fake_screen->serverFormat.bitsPerPixel = raw_fb_native_bpp;
+ fake_screen->width = snap->width;
+ fake_screen->height = snap->height;
for (i=0; i < rows * cols; i++) {
int ix, iy, x, y, w, h;