all repos — fluxbox @ affb5bda338e4e9f805dd0e372ba0482f2b6cbc7

custom fork of the fluxbox windowmanager

Clean up
fluxgen fluxgen
commit

affb5bda338e4e9f805dd0e372ba0482f2b6cbc7

parent

784b3ec48a61c7626fd2f0a88c3ba8bfb9b28ffc

1 files changed, 0 insertions(+), 25 deletions(-)

jump to
M src/Netizen.ccsrc/Netizen.cc

@@ -52,22 +52,6 @@

void Netizen::sendWorkspaceCount(void) { - #ifdef GNOME -/* long val = screen->getCount(); - XChangeProperty(basedisplay->getXDisplay(), screen->getRootWindow(), - basedisplay->getGnomeWorkspaceCountAtom(), XA_CARDINAL, 32, - PropModeReplace, (unsigned char *)&val, 1);*/ - printf("UPDATE!\n"); - unsigned long data=(unsigned long) screen->getCount(); - Atom atom_set; - // CARD32 val; - - atom_set = XInternAtom(basedisplay->getXDisplay(), "_WIN_WORKSPACE_COUNT", False); - // val = mode.numdesktops; - XChangeProperty(basedisplay->getXDisplay(), window, atom_set, - XA_CARDINAL, 32, PropModeReplace,(unsigned char *)&data, 1); - #endif //GNOME - event.xclient.data.l[0] = basedisplay->getFluxboxNotifyWorkspaceCountAtom(); event.xclient.data.l[1] = screen->getCount();

@@ -78,15 +62,6 @@ }

void Netizen::sendCurrentWorkspace(void) { - #ifdef GNOME - //update atom to workspace - long val; - val = screen->getCurrentWorkspaceID(); - XChangeProperty(basedisplay->getXDisplay(), screen->getRootWindow(), - basedisplay->getGnomeWorkspaceAtom(), XA_CARDINAL, 32, - PropModeReplace, (unsigned char *)&val, 1); - - #endif event.xclient.data.l[0] = basedisplay->getFluxboxNotifyCurrentWorkspaceAtom(); event.xclient.data.l[1] = screen->getCurrentWorkspaceID();