summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
authordscho <dscho>2006-04-28 11:21:57 +0000
committerdscho <dscho>2006-04-28 11:21:57 +0000
commit7602f0e750b1f0b995b879e082651276fb6cef66 (patch)
tree0eda1088cc2e0ef9012ef2d44435292441c21fdb /client_examples
parent9b51d63d49bca0bd5a2f9efbb6e02532c0672371 (diff)
downloadlibtdevnc-7602f0e750b1f0b995b879e082651276fb6cef66.tar.gz
libtdevnc-7602f0e750b1f0b995b879e082651276fb6cef66.zip
libvncclient: support changing of framebuffer size; make SDLvncviewer use it
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/SDLvncviewer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c
index 5695481..8bb6efa 100644
--- a/client_examples/SDLvncviewer.c
+++ b/client_examples/SDLvncviewer.c
@@ -209,6 +209,7 @@ int main(int argc,char** argv) {
/* 16-bit: cl=rfbGetClient(5,3,2); */
cl=rfbGetClient(8,3,4);
cl->MallocFrameBuffer=resize;
+ cl->canHandleNewFBSize = TRUE;
cl->GotFrameBufferUpdate=update;
cl->HandleKeyboardLedState=kbd_leds;