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:
parent
dd1ebc6885
commit
92998b409f
@ -201,8 +201,9 @@ KeyboardFilter::Filter(BMessage* message, EventTarget** _target,
|
||||
{
|
||||
STRACE(("Set Workspace %ld\n", key - 1));
|
||||
|
||||
fDesktop->SetWorkspaceAsync(key - B_F1_KEY,
|
||||
(modifiers & B_SHIFT_KEY) != 0);
|
||||
bool takeWindow = (modifiers & B_SHIFT_KEY) != 0
|
||||
|| fDesktop->MouseEventWindow() != NULL;
|
||||
fDesktop->SetWorkspaceAsync(key - B_F1_KEY, takeWindow);
|
||||
return B_SKIP_MESSAGE;
|
||||
}
|
||||
} if (key == 0x11
|
||||
|
Loading…
x
Reference in New Issue
Block a user