* changed the way a message is forwarded to the focus view (instead of adding

a suspend focus field to the message, there is now a "feed focus" field in
  case the message should be forwarded).
* added a comment to the BPoint version of _FindView() (since it's broken)
* _DistributeMessage() is now called after _DetermineTarget() - so that it
  can prevent sending the message twice to the focus view.
* removed BWindow::DoUpdate() as it's no longer used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15066 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-22 12:49:35 +00:00
parent 8e51bdd43f
commit b095201503
4 changed files with 57 additions and 16 deletions
+1 -3
View File
@@ -267,7 +267,7 @@ private:
void AddShortcut(uint32 key, uint32 modifiers,
BMenuItem* item);
BHandler* _DetermineTarget(BMessage* message, BHandler* target);
bool _DistributeMessage(BMessage* message);
bool _DistributeMessage(BMessage* message, BHandler* target);
bool InUpdate();
void _DequeueAll();
@@ -293,8 +293,6 @@ private:
bool _HandleKeyDown(char key, uint32 modifiers);
void _KeyboardNavigation();
void DoUpdate(BView* view, BRect& area);
// Debug (TODO: to be removed)
void PrintToStream() const;