* applied the logic from BWindow::task_looper() to BLooper as well (messages to
invalid target handlers are dropped). * B_PREFERRED messages now go to the looper if there is no other preferred handler. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2243,6 +2243,8 @@ BWindow::task_looper()
|
||||
|
||||
if (usePreferred) {
|
||||
handler = PreferredHandler();
|
||||
if (handler == NULL)
|
||||
handler = this;
|
||||
} else {
|
||||
gDefaultTokens.GetToken(messagePrivate.GetTarget(),
|
||||
B_HANDLER_TOKEN, (void **)&handler);
|
||||
|
||||
Reference in New Issue
Block a user