]> Dogcows Code - chaz/openbox/commitdiff
disable the current workspace in the send-to menu
authorDana Jansens <danakj@orodu.net>
Tue, 28 May 2002 11:55:43 +0000 (11:55 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 28 May 2002 11:55:43 +0000 (11:55 +0000)
src/Windowmenu.cc

index 7de61dbdd2bc3a59e91a8b508a03684a10083dc2..089cce575cb5e5564ff5dcd7c1a67925c2bc223f 100644 (file)
@@ -193,6 +193,7 @@ void Windowmenu::SendtoWorkspacemenu::update(void) {
     } else {
       changeItemLabel(i, getScreen()->getWorkspace(i)->getName());
     }
+    setItemEnabled(i, i != getScreen()->getCurrentWorkspaceID());
   }
 
   Basemenu::update();
This page took 0.024179 seconds and 4 git commands to generate.