From 258d8a3380e0d986adcef3e65c57e8f46bb548fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 23 Aug 2006 12:20:28 +0000 Subject: [PATCH] When building the update region on workspace switch, the mouse event window was ignored even if it was not visible on the previous workspace (only normal windows can be moved this way). This fixes bug #765. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18585 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/Desktop.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/servers/app/Desktop.cpp b/src/servers/app/Desktop.cpp index 8e9130f6c7..c697aafc98 100644 --- a/src/servers/app/Desktop.cpp +++ b/src/servers/app/Desktop.cpp @@ -836,7 +836,8 @@ Desktop::SetWorkspace(int32 index) // send B_WORKSPACE_ACTIVATED message window->WorkspaceActivated(index, true); - if (window->InWorkspace(previousIndex) || window == fMouseEventWindow) { + if (window->InWorkspace(previousIndex) + || (window == fMouseEventWindow && fMouseEventWindow->IsNormal())) { // this window was visible before, and is already handled in the above loop continue; }