Also test what happens when there is a view with an event mask. (Currently

shows a bug in the app_server event dispatching which is going to be fixed
next.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-10-13 23:08:53 +00:00
parent e0418bf91e
commit bfaa132f3f
@@ -124,8 +124,10 @@ main(int argc, char **argv)
window->AddChild(new View(frame, "L ", B_FOLLOW_ALL, 255, 0, 0)); window->AddChild(new View(frame, "L ", B_FOLLOW_ALL, 255, 0, 0));
frame.left = frame.right + 1; frame.left = frame.right + 1;
frame.right = window->Bounds().right; frame.right = window->Bounds().right;
window->AddChild(new View(frame, "R", B_FOLLOW_TOP_BOTTOM | B_FOLLOW_RIGHT, View* view = new View(frame, "R", B_FOLLOW_TOP_BOTTOM | B_FOLLOW_RIGHT,
0, 255, 0)); 0, 255, 0);
window->AddChild(view);
view->SetEventMask(B_POINTER_EVENTS, B_NO_POINTER_HISTORY);
window->Show(); window->Show();