]> source.dussan.org Git - tigervnc.git/commitdiff
Minor fix to "invalidate" desktop child window instead of the parent window.
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 17 May 2006 05:04:25 +0000 (05:04 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 17 May 2006 05:04:25 +0000 (05:04 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@555 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/DesktopWindow.cxx

index f536e0c756057c998eab6873d7a09a43bf54d236..acddf45ef01356c4c8f3c3d7aa19335b742985cb 100644 (file)
@@ -866,7 +866,7 @@ DesktopWindow::setPF(const PixelFormat& pf) {
   buffer->setPF(pf);
   
   // Redraw the window
-  InvalidateRect(handle, 0, 0);
+  InvalidateRect(frameHandle, 0, FALSE);
 }
 
 void