Add a boolean "_fake" parameter to fake mouse moves in case views care that the
app_server generated it. For now used by screen_blanker, in my next commit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29492 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
acef747411
commit
1674584bb9
@ -555,6 +555,9 @@ EventDispatcher::_SendFakeMouseMoved(BMessage* message)
|
||||
moved.AddInt32("_view_token", viewToken);
|
||||
// this only belongs to the new target
|
||||
|
||||
moved.AddBool("_fake", true);
|
||||
// let the view know this is fake
|
||||
|
||||
_SendMessage(target, &moved, kMouseTransitImportance);
|
||||
|
||||
fPreviousMouseTarget = eventTarget;
|
||||
|
Loading…
Reference in New Issue
Block a user