From 097d6418528fea16a049db8d82b0d4df42e7c576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 20 May 2005 14:58:49 +0000 Subject: [PATCH] Didn't know that BView::do_owner_check() also checks the lock - maybe it should be renamed to do_owner_and_lock_check(). Removed looper locking again, since it's not needed, then. Thanks to Adi for the hint. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12743 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/View.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index e31feebc9c..1ee710495b 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -1205,10 +1205,6 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue) queue->Unlock(); } - // Since we're usually called locked, this is mainly needed - // in case we were called from another thread - LockLooper(); - // If no mouse update message has been found in the message queue, // we get the current mouse location and buttons from the app_server @@ -1221,8 +1217,6 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue) owner->fLink->Read(location); owner->fLink->Read((int32 *)buttons, sizeof(int32)); } - - UnlockLooper(); }