aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-04-25 09:33:20 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-04-25 09:33:20 (GMT)
commitbe90145227ca5cb9b54547ccb3905419f4d4f9d9 (patch)
tree33351f9e07f3f157c71ed443731e4b88763e161a /src
parent86c9b100f3e27f5b3136f4a1d37b703306e7ddd9 (diff)
downloadfluxbox-be90145227ca5cb9b54547ccb3905419f4d4f9d9.zip
fluxbox-be90145227ca5cb9b54547ccb3905419f4d4f9d9.tar.bz2
bugfix: do not warp workspaces with only one workspace
Diffstat (limited to 'src')
-rw-r--r--src/Screen.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 6e995c3..729461a 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -102,7 +102,7 @@ public:
102 102
103 bool isRootColormapInstalled() const { return root_colormap_installed; } 103 bool isRootColormapInstalled() const { return root_colormap_installed; }
104 bool isScreenManaged() const { return managed; } 104 bool isScreenManaged() const { return managed; }
105 bool isWorkspaceWarping() const { return *resource.workspace_warping; } 105 bool isWorkspaceWarping() const { return (m_workspaces_list.size() > 1) && *resource.workspace_warping; }
106 bool doAutoRaise() const { return *resource.auto_raise; } 106 bool doAutoRaise() const { return *resource.auto_raise; }
107 bool clickRaises() const { return *resource.click_raises; } 107 bool clickRaises() const { return *resource.click_raises; }
108 bool doOpaqueMove() const { return *resource.opaque_move; } 108 bool doOpaqueMove() const { return *resource.opaque_move; }