Package:  rdesktop
Version:  1.7.0-1
Severity: important
Tags:     patch
User:     debian-...@lists.debian.org
Usertags: debian-edu

This is a patch created by my college Dag-Erling Smørgrav to fix a bug
in rdesktop.

When the screen size changes, rdesktop resizes its window (unless
running in full-screen mode) but does not reset the clipping rectangle,
causing the portion of the screen outside the old boundaries to remain
blank.

The attached patch solve the problem.

-- 
Happy hacking
Petter Reinholdtsen
--- rdesktop-1.7.0.orig/xwin.c	2011-04-18 13:21:57.000000000 +0200
+++ rdesktop-1.7.0/xwin.c	2012-10-08 07:20:22.924324493 +0200
@@ -2149,6 +2149,8 @@
 		XFreePixmap(g_display, g_backstore);
 		g_backstore = bs;
 	}
+
+	ui_reset_clip();
 }
 
 void

Reply via email to