diff options
author | rathnor <rathnor> | 2003-06-26 12:22:43 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-26 12:22:43 (GMT) |
commit | 4993e2f36331299aba6a42df2896e49d4c98b111 (patch) | |
tree | e130579b68dbf4244913e676060d0f6fd624140b /src/Toolbar.hh | |
parent | a1eb047c00e96295e482564311db9075d05ce034 (diff) | |
download | fluxbox-4993e2f36331299aba6a42df2896e49d4c98b111.zip fluxbox-4993e2f36331299aba6a42df2896e49d4c98b111.tar.bz2 |
speedups for having lots of stuck windows
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r-- | src/Toolbar.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh index 87cd223..7a62c8d 100644 --- a/src/Toolbar.hh +++ b/src/Toolbar.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Toolbar.hh,v 1.35 2003/06/23 13:16:50 fluxgen Exp $ | 25 | // $Id: Toolbar.hh,v 1.36 2003/06/26 12:22:42 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef TOOLBAR_HH | 27 | #ifndef TOOLBAR_HH |
28 | #define TOOLBAR_HH | 28 | #define TOOLBAR_HH |
@@ -71,13 +71,17 @@ public: | |||
71 | void addIcon(FluxboxWindow *w); | 71 | void addIcon(FluxboxWindow *w); |
72 | /// remove icon from iconbar | 72 | /// remove icon from iconbar |
73 | void delIcon(FluxboxWindow *w); | 73 | void delIcon(FluxboxWindow *w); |
74 | bool containsIcon(const FluxboxWindow &win) const; | ||
74 | /// remove all icons | 75 | /// remove all icons |
75 | void delAllIcons(); | 76 | void delAllIcons(bool ignore_stuck = false); |
76 | void enableIconBar(); | 77 | void enableIconBar(); |
77 | void disableIconBar(); | 78 | void disableIconBar(); |
78 | void raise(); | 79 | void raise(); |
79 | void lower(); | 80 | void lower(); |
80 | 81 | ||
82 | void enableUpdates(); | ||
83 | void disableUpdates(); | ||
84 | |||
81 | inline const FbTk::Menu &menu() const { return m_toolbarmenu; } | 85 | inline const FbTk::Menu &menu() const { return m_toolbarmenu; } |
82 | inline FbTk::Menu &menu() { return m_toolbarmenu; } | 86 | inline FbTk::Menu &menu() { return m_toolbarmenu; } |
83 | inline FbTk::Menu &placementMenu() { return m_placementmenu; } | 87 | inline FbTk::Menu &placementMenu() { return m_placementmenu; } |
@@ -111,7 +115,6 @@ public: | |||
111 | inline const ToolbarTheme &theme() const { return m_theme; } | 115 | inline const ToolbarTheme &theme() const { return m_theme; } |
112 | inline ToolbarTheme &theme() { return m_theme; } | 116 | inline ToolbarTheme &theme() { return m_theme; } |
113 | bool isVertical() const; | 117 | bool isVertical() const; |
114 | bool containsIcon(const FluxboxWindow &win) const; | ||
115 | 118 | ||
116 | /** | 119 | /** |
117 | @name eventhandlers | 120 | @name eventhandlers |