aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-12 23:05:10 (GMT)
committerfluxgen <fluxgen>2004-04-12 23:05:10 (GMT)
commite828391b1c09e22a4431926f13a27d3bde3369b6 (patch)
tree9981d3ba46843ef351b4f0e18492de6f96269efd /src/Screen.hh
parent66af4ea72faacd7a514d00b2986b5417cc264a69 (diff)
downloadfluxbox-e828391b1c09e22a4431926f13a27d3bde3369b6.zip
fluxbox-e828391b1c09e22a4431926f13a27d3bde3369b6.tar.bz2
hide window menu if click on another window, patch from Mathias Gumz
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index b84b950..6731d14 100644
--- a/src/Screen.hh
+++ b/src/Screen.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: Screen.hh,v 1.137 2004/03/30 13:45:20 fluxgen Exp $ 25// $Id: Screen.hh,v 1.138 2004/04/12 23:05:10 fluxgen Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -178,6 +178,9 @@ public:
178 FbTk::Menu *createMenu(const std::string &label); 178 FbTk::Menu *createMenu(const std::string &label);
179 void hideMenus(); 179 void hideMenus();
180 180
181 /// hide all windowmenus except the given one (if given)
182 void hideWindowMenus(const FluxboxWindow* except= 0);
183
181 /// @return the resource value of number of workspace 184 /// @return the resource value of number of workspace
182 inline int getNumberOfWorkspaces() const { return *resource.workspaces; } 185 inline int getNumberOfWorkspaces() const { return *resource.workspaces; }
183 186