aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-09 04:54:58 (GMT)
committermarkt <markt>2006-08-09 04:54:58 (GMT)
commit6c4dcc679bd38096da08ef96b544a552d6c8776a (patch)
treeb49d715c80045e3d67fc72cdfa9e93dcb140f530 /src/Gnome.cc
parentbd8ef1bc87518d575a422dad43a24a32888e478e (diff)
downloadfluxbox-6c4dcc679bd38096da08ef96b544a552d6c8776a.zip
fluxbox-6c4dcc679bd38096da08ef96b544a552d6c8776a.tar.bz2
it never existed (what never existed?)
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 684b7f6..81803dd 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -93,12 +93,11 @@ void Gnome::setupFrame(FluxboxWindow &win) {
93 Atom ret_type; 93 Atom ret_type;
94 int fmt; 94 int fmt;
95 unsigned long nitems, bytes_after; 95 unsigned long nitems, bytes_after;
96 long flags; 96 long flags, *data = 0;
97 unsigned char *data = 0;
98 97
99 if (win.winClient().property(m_gnome_wm_win_state, 0, 1, False, XA_CARDINAL, 98 if (win.winClient().property(m_gnome_wm_win_state, 0, 1, False, XA_CARDINAL,
100 &ret_type, &fmt, &nitems, &bytes_after, 99 &ret_type, &fmt, &nitems, &bytes_after,
101 &data) && data) { 100 (unsigned char **) &data) && data) {
102 flags = *data; 101 flags = *data;
103 setState(&win, flags); 102 setState(&win, flags);
104 XFree (data); 103 XFree (data);
@@ -109,7 +108,7 @@ void Gnome::setupFrame(FluxboxWindow &win) {
109 // load gnome layer atom 108 // load gnome layer atom
110 if (win.winClient().property(m_gnome_wm_win_layer, 0, 1, False, XA_CARDINAL, 109 if (win.winClient().property(m_gnome_wm_win_layer, 0, 1, False, XA_CARDINAL,
111 &ret_type, &fmt, &nitems, &bytes_after, 110 &ret_type, &fmt, &nitems, &bytes_after,
112 &data) && data) { 111 (unsigned char **) &data) && data) {
113 flags = *data; 112 flags = *data;
114 setLayer(&win, flags); 113 setLayer(&win, flags);
115 XFree (data); 114 XFree (data);
@@ -120,7 +119,7 @@ void Gnome::setupFrame(FluxboxWindow &win) {
120 // load gnome workspace atom 119 // load gnome workspace atom
121 if (win.winClient().property(m_gnome_wm_win_workspace, 0, 1, False, XA_CARDINAL, 120 if (win.winClient().property(m_gnome_wm_win_workspace, 0, 1, False, XA_CARDINAL,
122 &ret_type, &fmt, &nitems, &bytes_after, 121 &ret_type, &fmt, &nitems, &bytes_after,
123 &data) && data) { 122 (unsigned char **) &data) && data) {
124 unsigned int workspace_num = *data; 123 unsigned int workspace_num = *data;
125 if (win.workspaceNumber() != workspace_num) 124 if (win.workspaceNumber() != workspace_num)
126 win.setWorkspace(workspace_num); 125 win.setWorkspace(workspace_num);