aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 2b12b7f..240c691 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.cc,v 1.27 2003/06/23 14:16:04 rathnor Exp $ 22// $Id: Gnome.cc,v 1.28 2003/06/26 12:22:42 rathnor Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -218,7 +218,10 @@ void Gnome::updateWorkspaceCount(BScreen &screen) {
218} 218}
219 219
220void Gnome::updateWorkspace(FluxboxWindow &win) { 220void Gnome::updateWorkspace(FluxboxWindow &win) {
221 int val = win.workspaceNumber(); 221 int val = win.workspaceNumber();
222 if (win.isStuck()) {
223 val = -1;
224 }
222#ifdef DEBUG 225#ifdef DEBUG
223 cerr<<__FILE__<<"("<<__LINE__<<"): setting workspace("<<val<< 226 cerr<<__FILE__<<"("<<__LINE__<<"): setting workspace("<<val<<
224 ") for window("<<&win<<")"<<endl; 227 ") for window("<<&win<<")"<<endl;