diff options
author | fluxgen <fluxgen> | 2002-02-21 00:38:51 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-02-21 00:38:51 (GMT) |
commit | 777c136ae049f79be93f8d82d1a1edc31fbf9861 (patch) | |
tree | 4a4afee4fa8e226fa01e835872d3f253cc7b9372 /src | |
parent | f1a96599e83fad6af8e727137ecb01d3ad7c9c91 (diff) | |
download | fluxbox_lack-777c136ae049f79be93f8d82d1a1edc31fbf9861.zip fluxbox_lack-777c136ae049f79be93f8d82d1a1edc31fbf9861.tar.bz2 |
updateGnomeClientList when changin workspace
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 7a65473..c5ad81e 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.27 2002/02/20 23:04:51 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.28 2002/02/21 00:38:51 fluxgen Exp $ |
26 | 26 | ||
27 | // stupid macros needed to access some functions in version 2 of the GNU C | 27 | // stupid macros needed to access some functions in version 2 of the GNU C |
28 | // library | 28 | // library |
@@ -863,6 +863,7 @@ void BScreen::updateNetizenCurrentWorkspace(void) { | |||
863 | XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), | 863 | XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), |
864 | getBaseDisplay()->getGnomeWorkspaceAtom(), XA_CARDINAL, 32, PropModeReplace, | 864 | getBaseDisplay()->getGnomeWorkspaceAtom(), XA_CARDINAL, 32, PropModeReplace, |
865 | (unsigned char *)&gnome_workspace, 1); | 865 | (unsigned char *)&gnome_workspace, 1); |
866 | updateGnomeClientList(); | ||
866 | #endif | 867 | #endif |
867 | 868 | ||
868 | Netizens::iterator it = netizenList.begin(); | 869 | Netizens::iterator it = netizenList.begin(); |
@@ -871,9 +872,6 @@ void BScreen::updateNetizenCurrentWorkspace(void) { | |||
871 | (*it)->sendCurrentWorkspace(); | 872 | (*it)->sendCurrentWorkspace(); |
872 | } | 873 | } |
873 | 874 | ||
874 | #ifdef DEBUG | ||
875 | cerr<<__FILE__<<"("<<__LINE__<<"): Update Current Workspace"<<endl; | ||
876 | #endif | ||
877 | } | 875 | } |
878 | 876 | ||
879 | 877 | ||
@@ -898,12 +896,9 @@ void BScreen::updateNetizenWorkspaceCount(void) { | |||
898 | XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), | 896 | XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), |
899 | getBaseDisplay()->getGnomeWorkspaceCountAtom(), XA_CARDINAL, 32, PropModeReplace, | 897 | getBaseDisplay()->getGnomeWorkspaceCountAtom(), XA_CARDINAL, 32, PropModeReplace, |
900 | (unsigned char *)&numworkspaces, 1); | 898 | (unsigned char *)&numworkspaces, 1); |
901 | } | 899 | } |
902 | #endif | 900 | #endif |
903 | 901 | ||
904 | #ifdef DEBUG | ||
905 | cerr<<__FILE__<<"("<<__LINE__<<"): Update Workspace Count"<<endl; | ||
906 | #endif | ||
907 | } | 902 | } |
908 | 903 | ||
909 | 904 | ||
@@ -1762,6 +1757,7 @@ void BScreen::initGnomeAtoms(void) { | |||
1762 | getBaseDisplay()->getGnomeWorkspaceNamesAtom(), | 1757 | getBaseDisplay()->getGnomeWorkspaceNamesAtom(), |
1763 | getBaseDisplay()->getGnomeHintsAtom(), | 1758 | getBaseDisplay()->getGnomeHintsAtom(), |
1764 | getBaseDisplay()->getGnomeClientListAtom(), | 1759 | getBaseDisplay()->getGnomeClientListAtom(), |
1760 | getBaseDisplay()->getGnomeLayerAtom(), | ||
1765 | }; | 1761 | }; |
1766 | 1762 | ||
1767 | //list atoms that we support | 1763 | //list atoms that we support |