diff options
author | unknown <unknown> | 2002-01-11 11:59:54 (GMT) |
---|---|---|
committer | unknown <unknown> | 2002-01-11 11:59:54 (GMT) |
commit | 61661d638e34b3ce6c986d5a53b8c08c1051d422 (patch) | |
tree | f0b87676e95070afee163f76902efd0c4d5b5fe6 /src/Netizen.cc | |
parent | f98c3c9045397bd9497621deb55b310366f8a5de (diff) | |
parent | a3d2a1cf0a5ab724e19a91915fe97842f52260d5 (diff) | |
download | fluxbox-61661d638e34b3ce6c986d5a53b8c08c1051d422.zip fluxbox-61661d638e34b3ce6c986d5a53b8c08c1051d422.tar.bz2 |
This commit was manufactured by cvs2svn to create tagRelease-0_1_6
'Release-0_1_6'.
Diffstat (limited to 'src/Netizen.cc')
-rw-r--r-- | src/Netizen.cc | 25 |
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 | ||
53 | void Netizen::sendWorkspaceCount(void) { | 53 | void 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 | ||
80 | void Netizen::sendCurrentWorkspace(void) { | 64 | void 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(); |