aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-10 12:48:45 (GMT)
committerfluxgen <fluxgen>2002-01-10 12:48:45 (GMT)
commitaffb5bda338e4e9f805dd0e372ba0482f2b6cbc7 (patch)
treebfc780831e6f1f294c4c278f7631ad7a6135a854 /src
parent784b3ec48a61c7626fd2f0a88c3ba8bfb9b28ffc (diff)
downloadfluxbox-affb5bda338e4e9f805dd0e372ba0482f2b6cbc7.zip
fluxbox-affb5bda338e4e9f805dd0e372ba0482f2b6cbc7.tar.bz2
Clean up
Diffstat (limited to 'src')
-rw-r--r--src/Netizen.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Netizen.cc b/src/Netizen.cc
index 24f4a4c..f23ec13 100644
--- a/src/Netizen.cc
+++ b/src/Netizen.cc
@@ -52,22 +52,6 @@ Netizen::Netizen(BScreen *scr, Window win) {
52 52
53void Netizen::sendWorkspaceCount(void) { 53void Netizen::sendWorkspaceCount(void) {
54 54
55 #ifdef GNOME
56/* long val = screen->getCount();
57 XChangeProperty(basedisplay->getXDisplay(), screen->getRootWindow(),
58 basedisplay->getGnomeWorkspaceCountAtom(), XA_CARDINAL, 32,
59 PropModeReplace, (unsigned char *)&val, 1);*/
60 printf("UPDATE!\n");
61 unsigned long data=(unsigned long) screen->getCount();
62 Atom atom_set;
63 // CARD32 val;
64
65 atom_set = XInternAtom(basedisplay->getXDisplay(), "_WIN_WORKSPACE_COUNT", False);
66 // val = mode.numdesktops;
67 XChangeProperty(basedisplay->getXDisplay(), window, atom_set,
68 XA_CARDINAL, 32, PropModeReplace,(unsigned char *)&data, 1);
69 #endif //GNOME
70
71 event.xclient.data.l[0] = basedisplay->getFluxboxNotifyWorkspaceCountAtom(); 55 event.xclient.data.l[0] = basedisplay->getFluxboxNotifyWorkspaceCountAtom();
72 event.xclient.data.l[1] = screen->getCount(); 56 event.xclient.data.l[1] = screen->getCount();
73 57
@@ -78,15 +62,6 @@ void Netizen::sendWorkspaceCount(void) {
78 62
79 63
80void Netizen::sendCurrentWorkspace(void) { 64void Netizen::sendCurrentWorkspace(void) {
81 #ifdef GNOME
82 //update atom to workspace
83 long val;
84 val = screen->getCurrentWorkspaceID();
85 XChangeProperty(basedisplay->getXDisplay(), screen->getRootWindow(),
86 basedisplay->getGnomeWorkspaceAtom(), XA_CARDINAL, 32,
87 PropModeReplace, (unsigned char *)&val, 1);
88
89 #endif
90 65
91 event.xclient.data.l[0] = basedisplay->getFluxboxNotifyCurrentWorkspaceAtom(); 66 event.xclient.data.l[0] = basedisplay->getFluxboxNotifyCurrentWorkspaceAtom();
92 event.xclient.data.l[1] = screen->getCurrentWorkspaceID(); 67 event.xclient.data.l[1] = screen->getCurrentWorkspaceID();