Stefan Weil 5db8378a77 vnc: Fix fatal crash with vnc reverse mode
Reverse mode is unusable:

	qemu -vnc localhost:5500,reverse

crashes in vnc_refresh_server_surface because some pointers are NULL.

Fix this by calling vnc_dpy_resize (which initializes these pointers)
before calling vnc_refresh.

Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-02-23 16:28:29 -06:00
..
2010-10-21 18:31:28 +02:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2011-01-24 15:41:40 +01:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2011-01-24 15:13:54 +01:00
2010-09-21 18:36:43 +02:00
2010-07-26 17:35:54 -05:00
2011-02-23 16:28:29 -06:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2011-02-23 16:28:29 -06:00
2010-07-26 17:35:54 -05:00