Take the window when dragging the window and switching the workspace using the cmd + F1-12. Thanks Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39710 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -201,8 +201,9 @@ KeyboardFilter::Filter(BMessage* message, EventTarget** _target,
|
|||||||
{
|
{
|
||||||
STRACE(("Set Workspace %ld\n", key - 1));
|
STRACE(("Set Workspace %ld\n", key - 1));
|
||||||
|
|
||||||
fDesktop->SetWorkspaceAsync(key - B_F1_KEY,
|
bool takeWindow = (modifiers & B_SHIFT_KEY) != 0
|
||||||
(modifiers & B_SHIFT_KEY) != 0);
|
|| fDesktop->MouseEventWindow() != NULL;
|
||||||
|
fDesktop->SetWorkspaceAsync(key - B_F1_KEY, takeWindow);
|
||||||
return B_SKIP_MESSAGE;
|
return B_SKIP_MESSAGE;
|
||||||
}
|
}
|
||||||
} if (key == 0x11
|
} if (key == 0x11
|
||||||
|
|||||||
Reference in New Issue
Block a user