all repos — fluxbox @ 777c136ae049f79be93f8d82d1a1edc31fbf9861

custom fork of the fluxbox windowmanager

updateGnomeClientList when changin workspace
fluxgen fluxgen
commit

777c136ae049f79be93f8d82d1a1edc31fbf9861

parent

f1a96599e83fad6af8e727137ecb01d3ad7c9c91

1 files changed, 4 insertions(+), 8 deletions(-)

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

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.27 2002/02/20 23:04:51 fluxgen Exp $ +// $Id: Screen.cc,v 1.28 2002/02/21 00:38:51 fluxgen Exp $ // stupid macros needed to access some functions in version 2 of the GNU C // library

@@ -863,6 +863,7 @@ int gnome_workspace = getCurrentWorkspaceID();

XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), getBaseDisplay()->getGnomeWorkspaceAtom(), XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&gnome_workspace, 1); + updateGnomeClientList(); #endif Netizens::iterator it = netizenList.begin();

@@ -871,9 +872,6 @@ for (; it != it_end; ++it) {

(*it)->sendCurrentWorkspace(); } - #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): Update Current Workspace"<<endl; - #endif }

@@ -898,12 +896,9 @@ int numworkspaces = getCount();

XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), getBaseDisplay()->getGnomeWorkspaceCountAtom(), XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&numworkspaces, 1); - } + } #endif - #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): Update Workspace Count"<<endl; - #endif }

@@ -1762,6 +1757,7 @@ getBaseDisplay()->getGnomeStateAtom(),

getBaseDisplay()->getGnomeWorkspaceNamesAtom(), getBaseDisplay()->getGnomeHintsAtom(), getBaseDisplay()->getGnomeClientListAtom(), + getBaseDisplay()->getGnomeLayerAtom(), }; //list atoms that we support