From 50643501582c203bfddb03e373ce8f8f1139dfc6 Mon Sep 17 00:00:00 2001 From: "blizzard%redhat.com" Date: Tue, 13 Jul 1999 16:19:17 +0000 Subject: [PATCH] Fix clipping problem in nsWindow::Invalidate(). This problem was showing up when using the scrollbar to page up and down. This is not part of the build. --- widget/src/xlib/nsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/xlib/nsWindow.cpp b/widget/src/xlib/nsWindow.cpp index f6d5f79bc74d..4223bc2c6275 100644 --- a/widget/src/xlib/nsWindow.cpp +++ b/widget/src/xlib/nsWindow.cpp @@ -79,7 +79,7 @@ NS_IMETHODIMP nsWindow::Invalidate(PRBool aIsSynchronous) pevent.widget = this; pevent.eventStructType = NS_PAINT_EVENT; pevent.rect = new nsRect (mBounds.x, mBounds.y, - mBounds.height, mBounds.width); + mBounds.width, mBounds.height); // XXX fix this pevent.time = 0; AddRef();