diff options
author | fluxgen <fluxgen> | 2002-10-23 17:32:30 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-23 17:32:30 (GMT) |
commit | a1a01de8f92098ec1cc23f46188a4c4c9b752200 (patch) | |
tree | cce3084243d7f423a2250e539fb6a87bc974d4f0 /src/Screen.cc | |
parent | ac00b050de43727a0e1f7d94eed0e17e72830590 (diff) | |
download | fluxbox-a1a01de8f92098ec1cc23f46188a4c4c9b752200.zip fluxbox-a1a01de8f92098ec1cc23f46188a4c4c9b752200.tar.bz2 |
removed obsolete NEWWMSPEC
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 4159141..23d92a1 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.74 2002/10/15 17:12:23 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.75 2002/10/23 17:30:12 fluxgen Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -457,7 +457,7 @@ resource(rm, screenname, altscreenname) | |||
457 | 457 | ||
458 | XFree(children); | 458 | XFree(children); |
459 | XFlush(getBaseDisplay()->getXDisplay()); | 459 | XFlush(getBaseDisplay()->getXDisplay()); |
460 | 460 | theme->reconfigure(*resource.antialias); | |
461 | } | 461 | } |
462 | 462 | ||
463 | namespace { | 463 | namespace { |
@@ -721,7 +721,8 @@ int BScreen::addWorkspace() { | |||
721 | 721 | ||
722 | } | 722 | } |
723 | 723 | ||
724 | 724 | /// removes last workspace | |
725 | /// @return number of desktops left | ||
725 | int BScreen::removeLastWorkspace() { | 726 | int BScreen::removeLastWorkspace() { |
726 | if (workspacesList.size() > 1) { | 727 | if (workspacesList.size() > 1) { |
727 | Workspace *wkspc = workspacesList.back(); | 728 | Workspace *wkspc = workspacesList.back(); |
@@ -886,14 +887,6 @@ void BScreen::removeNetizen(Window w) { | |||
886 | 887 | ||
887 | 888 | ||
888 | void BScreen::updateNetizenCurrentWorkspace() { | 889 | void BScreen::updateNetizenCurrentWorkspace() { |
889 | #ifdef NEWWMSPEC | ||
890 | //update _NET_WM_CURRENT_DESKTOP | ||
891 | int workspace = getCurrentWorkspaceID(); | ||
892 | XChangeProperty(getBaseDisplay()->getXDisplay(), getRootWindow(), | ||
893 | getBaseDisplay()->getNETCurrentDesktopAtom(), XA_CARDINAL, 32, PropModeReplace, | ||
894 | (unsigned char *)&workspace, 1); | ||
895 | #endif // NEWWMSPEC | ||
896 | |||
897 | m_currentworkspace_sig.notify(); | 890 | m_currentworkspace_sig.notify(); |
898 | 891 | ||
899 | Netizens::iterator it = netizenList.begin(); | 892 | Netizens::iterator it = netizenList.begin(); |