using sendToWorkspace
This commit is contained in:
parent
61cfe16b70
commit
f049bb407a
1 changed files with 5 additions and 7 deletions
|
@ -261,14 +261,12 @@ void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, int index) {
|
|||
if (index == windowmenu->screen->getCurrentWorkspaceID()) return;
|
||||
if (windowmenu->window->isStuck()) windowmenu->window->stick();
|
||||
|
||||
if (button == 1) windowmenu->window->withdraw();
|
||||
windowmenu->screen->reassociateWindow(windowmenu->window, index, True);
|
||||
if (windowmenu->window->getTab()) {
|
||||
windowmenu->window->getTab()->disconnect();
|
||||
windowmenu->window->getTab()->setPosition();
|
||||
}
|
||||
if (button == 2) windowmenu->screen->changeWorkspaceID(index);
|
||||
if (button == 1)
|
||||
windowmenu->screen->sendToWorkspace(index, False);
|
||||
else if (button == 2)
|
||||
windowmenu->screen->sendToWorkspace(index);
|
||||
}
|
||||
|
||||
hide();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue