aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-03-10 21:38:47 (GMT)
committerrathnor <rathnor>2003-03-10 21:38:47 (GMT)
commit04dcbebc79382ac1fa2c5f89c87753bf39aa6049 (patch)
treebb7337ec5857eaf9d3ff9c9a7f96be0542e6a9d7
parent4c852829b871030bb8f8a2669ab3ea8eab044deb (diff)
downloadfluxbox_pavel-04dcbebc79382ac1fa2c5f89c87753bf39aa6049.zip
fluxbox_pavel-04dcbebc79382ac1fa2c5f89c87753bf39aa6049.tar.bz2
fix little bug in deiconifying windows when in "Workspace" Toolbar mode
-rw-r--r--src/ToolbarHandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc
index f05f399..adb1f8d 100644
--- a/src/ToolbarHandler.cc
+++ b/src/ToolbarHandler.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ToolbarHandler.cc,v 1.1 2003/03/03 21:51:09 rathnor Exp $ 23// $Id: ToolbarHandler.cc,v 1.2 2003/03/10 21:38:47 rathnor Exp $
24 24
25/** 25/**
26 * The ToolbarHandler class acts as a rough interface to the toolbar. 26 * The ToolbarHandler class acts as a rough interface to the toolbar.
@@ -250,9 +250,9 @@ void ToolbarHandler::updateState(FluxboxWindow &win) {
250 switch (m_mode) { 250 switch (m_mode) {
251 case OFF: 251 case OFF:
252 case NONE: 252 case NONE:
253 case WORKSPACE:
253 case ALLWINDOWS: 254 case ALLWINDOWS:
254 break; 255 break;
255 case WORKSPACE:
256 case WORKSPACEICONS: 256 case WORKSPACEICONS:
257 if (win.getWorkspaceNumber() != m_current_workspace) break; 257 if (win.getWorkspaceNumber() != m_current_workspace) break;
258 // else fall through and do the same as icons (knowing it is the right ws) 258 // else fall through and do the same as icons (knowing it is the right ws)