From 8357c93db5f94d078fd64299d0b3ae4baf52e86a Mon Sep 17 00:00:00 2001 From: Adi Oanca Date: Thu, 20 Jan 2005 17:30:37 +0000 Subject: [PATCH] Fixed that annoying cursor bug where the window dissapeared on moving git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10907 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/ViewDriver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/servers/app/server/ViewDriver.cpp b/src/servers/app/server/ViewDriver.cpp index 0e4a7b0949..1479c085c1 100644 --- a/src/servers/app/server/ViewDriver.cpp +++ b/src/servers/app/server/ViewDriver.cpp @@ -1057,7 +1057,8 @@ void ViewDriver::CopyBitmap(ServerBitmap *bitmap, const BRect &source, const BRe return; } - SetDrawData(d); + // DON't set draw data here! your existing clipping region will be deleted +// SetDrawData(d); // Oh, wow, is this going to be slow. Then again, ViewDriver was never meant to be very fast. It could // be made significantly faster by directly copying from the source to the destination, but that would