summaryrefslogtreecommitdiffstats
path: root/x11vnc/scan.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:45:19 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:45:19 +0100
commitb991c61628bb2eb93071f23784638614734b9526 (patch)
treeedab99e445ec377b7cdca798e60511373c4d1bba /x11vnc/scan.c
parent19aa466a967aa15f873c49508342a235100056dc (diff)
parent018aac069a88243279e4172c44fb76eb881818d2 (diff)
downloadlibtdevnc-b991c61628bb2eb93071f23784638614734b9526.tar.gz
libtdevnc-b991c61628bb2eb93071f23784638614734b9526.zip
Merge remote branch 'sf/master'
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;