From 1e44f00f5c13026c17e3554d51e68e380c2d4b9f Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 11 Oct 2002 10:23:54 +0000 Subject: ewmh support and minor debug output --- src/fluxbox.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 10ddc09..a3a1b6e 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.75 2002/09/08 19:31:27 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.76 2002/10/11 10:23:54 fluxgen Exp $ #include "fluxbox.hh" @@ -41,7 +41,7 @@ #include "XrmDatabaseHelper.hh" #include "AtomHandler.hh" #include "Gnome.hh" -//#include "Ewmh.hh" +#include "Ewmh.hh" #ifdef SLIT #include "Slit.hh" @@ -1646,7 +1646,7 @@ void Fluxbox::update(FbTk::Subject *changedsub) { BScreen &screen = subj->screen(); if ((&(screen.workspaceCountSig())) == changedsub) { #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): workspace count signal"<update()) @@ -1654,7 +1654,7 @@ void Fluxbox::update(FbTk::Subject *changedsub) { } } else if ((&(screen.workspaceNamesSig())) == changedsub) { #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): workspace names signal"<update()) @@ -1662,7 +1662,7 @@ void Fluxbox::update(FbTk::Subject *changedsub) { } } else if ((&(screen.currentWorkspaceSig())) == changedsub) { #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): current workspace signal"<update()) @@ -1670,7 +1670,7 @@ void Fluxbox::update(FbTk::Subject *changedsub) { } } else if ((&(screen.clientListSig())) == changedsub) { #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): client list signal"<update()) @@ -2558,9 +2558,9 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) { ScreenList::iterator winscreen = std::find(screenList.begin(), screenList.end(), win->getScreen()); - if (winscreen == screenList.end()) + if (winscreen == screenList.end()) { focused_window = 0; // the window pointer wasn't valid, mark no window focused - else { + } else { screen = *winscreen; tbar = screen->getToolbar(); wkspc = screen->getWorkspace(win->getWorkspaceNumber()); -- cgit v0.11.2