disable the current workspace in the send-to menu

This commit is contained in:
Dana Jansens 2002-05-28 11:55:43 +00:00
parent 46b2484eda
commit 8eb930551c

View file

@ -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();