Fixed a stupid copy&paste bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18605 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
eb60393dde
commit
967302c5b7
@ -2979,7 +2979,7 @@ BWindow::_SanitizeMessage(BMessage* message, BHandler* target, bool usePreferred
|
||||
bool
|
||||
BWindow::_StealMouseMessage(BMessage* message, bool& deleteMessage)
|
||||
{
|
||||
BMessage::Private messagePrivate(fLastMessage);
|
||||
BMessage::Private messagePrivate(message);
|
||||
if (!messagePrivate.UsePreferredTarget()) {
|
||||
// this message is targeted at a specific handler, so we should
|
||||
// not steal it
|
||||
|
Loading…
Reference in New Issue
Block a user