disable the current workspace in the send-to menu
This commit is contained in:
parent
46b2484eda
commit
8eb930551c
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ void Windowmenu::SendtoWorkspacemenu::update(void) {
|
||||||
} else {
|
} else {
|
||||||
changeItemLabel(i, getScreen()->getWorkspace(i)->getName());
|
changeItemLabel(i, getScreen()->getWorkspace(i)->getName());
|
||||||
}
|
}
|
||||||
|
setItemEnabled(i, i != getScreen()->getCurrentWorkspaceID());
|
||||||
}
|
}
|
||||||
|
|
||||||
Basemenu::update();
|
Basemenu::update();
|
||||||
|
|
Loading…
Reference in a new issue