]> Dogcows Code - chaz/openbox/blobdiff - src/Toolbar.hh
on reconfigure, save all of the open submenus instead of just one, and then reopen...
[chaz/openbox] / src / Toolbar.hh
index 31b35e7d74d00e29573569c12654ad805d17e657..f9dd54816557d18c223d922c7eb30476942fd2f3 100644 (file)
@@ -155,13 +155,18 @@ public:
   void save_rc(void);
   void load_rc(void);
 
+  void mapToolbar(void);
+  void unmapToolbar(void);
+
   inline Window getWindowID(void) const { return frame.window; }
 
   inline const Rect& getRect(void) const { return frame.rect; }
   inline unsigned int getWidth(void) const { return frame.rect.width(); }
   inline unsigned int getHeight(void) const { return frame.rect.height(); }
   inline unsigned int getExposedHeight(void) const
-  { return ((do_auto_hide) ? frame.bevel_w : frame.rect.height()); }
+  { return (screen->doHideToolbar() ? 0 :
+            ((do_auto_hide) ? frame.bevel_w :
+             frame.rect.height())); }
   inline int getX(void) const
   { return ((hidden) ? frame.x_hidden : frame.rect.x()); }
   inline int getY(void) const
This page took 0.020367 seconds and 4 git commands to generate.