here's an always on top hack for windows which are
marked "stuck" - its all i needed, someone else 
could extend if need be.

jr

-- 
------------------------------------------------------------------------
Joel W. Reed                                                412-257-3881
--------------All the simple programs have been written.----------------


--- ./src/Screen.cc.orig        Fri Jan 26 13:27:30 2001
+++ ./src/Screen.cc     Fri Jan 26 14:24:25 2001
@@ -1601,6 +1601,15 @@ void BScreen::raiseWindows(Window *works
     *(session_stack + i++) = slit->getWindowID();
 #endif // SLIT
 
+  LinkedListIterator<BlackboxWindow> it(current_workspace->stackingList);
+  for (; it.current(); it++)
+  {
+      if (it.current()->isStuck() == True)
+      {
+         *(session_stack + i++) = it.current()->getFrameWindow();
+      }
+  }
+  
   while (k--)
     *(session_stack + i++) = *(workspace_stack + k);
 
--- ./src/Workspace.hh.orig     Wed May 31 18:42:49 2000
+++ ./src/Workspace.hh  Fri Jan 26 14:19:34 2001
@@ -33,12 +33,15 @@ class BlackboxWindow;
 
 
 class Workspace {
+public: 
+  LinkedList<BlackboxWindow> *stackingList;
+
 private:
   BScreen *screen;
   BlackboxWindow *lastfocus;
   Clientmenu *clientmenu;
 
-  LinkedList<BlackboxWindow> *stackingList, *windowList;
+  LinkedList<BlackboxWindow> *windowList;
 
   char *name;
   int id, cascade_x, cascade_y;

PGP signature

Reply via email to