Hi all,

Here's a little patch to highlight current workspace in Send To menu.
Comes in handy when you want to send a window to the next right
workspace but don't know which workspace you are now (due to hidden
toolbar).

--- /home/wilbert/src/cvs/blackbox/src/Windowmenu.cc    Wed May 15
23:38:56 2002
+++ src/Windowmenu.cc   Tue May 28 12:44:41 2002
@@ -190,6 +190,7 @@
     } else {
       changeItemLabel(i, getScreen()->getWorkspace(i)->getName());
     }
+    setItemSelected(i, i == getScreen()->getCurrentWorkspaceID());
   }
 
   Basemenu::update();


Bye.

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
http://www.stoppoliceware.org/ http://digitalspeech.org/

Reply via email to