Index: uspace/srv/hid/rfb/main.c
===================================================================
--- uspace/srv/hid/rfb/main.c	(revision afcf7049d7f35c862988f3e47d752144e2c6aaac)
+++ uspace/srv/hid/rfb/main.c	(revision 5271e4ce7c269901a92de4f2e7b3ed4926eec5f2)
@@ -110,5 +110,5 @@
 	rfb->damage_rect.y = new_rect.p0.y;
 	rfb->damage_rect.width = new_rect.p1.x - new_rect.p0.x;
-	rfb->damage_rect.height = new_rect.p1.y - new_rect.p1.y;
+	rfb->damage_rect.height = new_rect.p1.y - new_rect.p0.y;
 }
 
