aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
committerfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
commitaa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da (patch)
tree9e8f1c81637c6e000127ed32f794e166eb4ac6a3 /src/Gnome.cc
parent816190411a9e5bd6cdfaa9d579f84be348a2f1bc (diff)
downloadfluxbox-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.zip
fluxbox-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.tar.bz2
minor cleaning
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 11cce0d..6e4a8b7 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.20 2003/05/10 22:57:37 fluxgen Exp $ 22// $Id: Gnome.cc,v 1.21 2003/05/11 13:36:10 fluxgen Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -118,7 +118,7 @@ void Gnome::setupWindow(FluxboxWindow &win) {
118 (unsigned char **) &data) == Success && data) { 118 (unsigned char **) &data) == Success && data) {
119 unsigned int workspace_num = *data; 119 unsigned int workspace_num = *data;
120 if (win.getWorkspaceNumber() != workspace_num) 120 if (win.getWorkspaceNumber() != workspace_num)
121 win.getScreen().reassociateWindow(&win, workspace_num, false); 121 win.screen().reassociateWindow(&win, workspace_num, false);
122 XFree (data); 122 XFree (data);
123 } 123 }
124 124
@@ -269,8 +269,8 @@ bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen * screen,
269#endif//!DEBUG 269#endif//!DEBUG
270 if ( win !=0 && // the message sent to client window? 270 if ( win !=0 && // the message sent to client window?
271 ce.data.l[0] >= 0 && 271 ce.data.l[0] >= 0 &&
272 ce.data.l[0] < (signed)win->getScreen().getCount()) { 272 ce.data.l[0] < (signed)win->screen().getCount()) {
273 win->getScreen().changeWorkspaceID(ce.data.l[0]); 273 win->screen().changeWorkspaceID(ce.data.l[0]);
274 274
275 } else if (screen!=0 && //the message sent to root window? 275 } else if (screen!=0 && //the message sent to root window?
276 ce.data.l[0] >= 0 && 276 ce.data.l[0] >= 0 &&