Fix for a bug I introduced with the last change: views were no longer removed at all!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16440 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f7f30d794e
commit
45a93d5d6b
@ -1055,7 +1055,7 @@ ServerWindow::_DispatchViewMessage(int32 code,
|
||||
ViewLayer *view;
|
||||
if (App()->ViewTokens().GetToken(token, B_HANDLER_TOKEN,
|
||||
(void**)&view) == B_OK
|
||||
&& view->Window()->ServerWindow() != this) {
|
||||
&& view->Window()->ServerWindow() == this) {
|
||||
ViewLayer* parent = view->Parent();
|
||||
|
||||
STRACE(("ServerWindow %s: AS_LAYER_DELETE view: %p, parent: %p\n",
|
||||
|
Loading…
Reference in New Issue
Block a user