aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 10d1775..ab08ea1 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.29 2003/07/04 01:03:40 rathnor Exp $ 22// $Id: Gnome.cc,v 1.30 2003/07/17 17:56:28 rathnor Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -99,6 +99,8 @@ void Gnome::setupFrame(FluxboxWindow &win) {
99 flags = *data; 99 flags = *data;
100 setState(&win, flags); 100 setState(&win, flags);
101 XFree (data); 101 XFree (data);
102 } else {
103 updateState(win);
102 } 104 }
103 105
104 // load gnome layer atom 106 // load gnome layer atom
@@ -109,6 +111,8 @@ void Gnome::setupFrame(FluxboxWindow &win) {
109 flags = *data; 111 flags = *data;
110 setLayer(&win, flags); 112 setLayer(&win, flags);
111 XFree (data); 113 XFree (data);
114 } else {
115 updateLayer(win);
112 } 116 }
113 117
114 // load gnome workspace atom 118 // load gnome workspace atom
@@ -120,6 +124,8 @@ void Gnome::setupFrame(FluxboxWindow &win) {
120 if (win.workspaceNumber() != workspace_num) 124 if (win.workspaceNumber() != workspace_num)
121 win.screen().reassociateWindow(&win, workspace_num, false); 125 win.screen().reassociateWindow(&win, workspace_num, false);
122 XFree (data); 126 XFree (data);
127 } else {
128 updateWorkspace(win);
123 } 129 }
124 130
125} 131}