aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-05-13 11:01:01 (GMT)
committersimonb <simonb>2005-05-13 11:01:01 (GMT)
commit5175ac3a404744126eb3f27d3af2c38b6c8ea1d3 (patch)
tree654f00266a86d0e324dbf97d051192b5b7b7a2af /src/Gnome.cc
parent8a249bfb1bb3be41a2a7903eacfb1d027c7fdadd (diff)
downloadfluxbox_pavel-5175ac3a404744126eb3f27d3af2c38b6c8ea1d3.zip
fluxbox_pavel-5175ac3a404744126eb3f27d3af2c38b6c8ea1d3.tar.bz2
fix a segfault
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 097a462..9fd1a48 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -120,7 +120,7 @@ void Gnome::setupFrame(FluxboxWindow &win) {
120 (unsigned char **) &data) && data) { 120 (unsigned char **) &data) && data) {
121 unsigned int workspace_num = *data; 121 unsigned int workspace_num = *data;
122 if (win.workspaceNumber() != workspace_num) 122 if (win.workspaceNumber() != workspace_num)
123 win.screen().reassociateWindow(&win, workspace_num, false); 123 win.setWorkspace(workspace_num);
124 XFree (data); 124 XFree (data);
125 } else { 125 } else {
126 updateWorkspace(win); 126 updateWorkspace(win);