From 33d482aba5053964594fb3c5b6f6a1537ca10cbf Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 4 Aug 2002 15:00:50 +0000 Subject: minor fixes for preprocessors --- src/fluxbox.cc | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 6338f11..45a67bc 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.63 2002/08/02 13:00:23 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.64 2002/08/04 15:00:50 fluxgen Exp $ //Use GNU extensions #ifndef _GNU_SOURCE @@ -534,17 +534,17 @@ void Fluxbox::process_event(XEvent *e) { { FluxboxWindow *win = (FluxboxWindow *) 0; - #ifdef SLIT +#ifdef SLIT Slit *slit = (Slit *) 0; - #endif // SLIT +#endif // SLIT if ((win = searchWindow(e->xconfigurerequest.window))) { win->configureRequestEvent(&e->xconfigurerequest); - #ifdef SLIT +#ifdef SLIT } else if ((slit = searchSlit(e->xconfigurerequest.window))) { slit->configureRequestEvent(&e->xconfigurerequest); - #endif // SLIT +#endif // SLIT } else { grab(); @@ -571,17 +571,17 @@ void Fluxbox::process_event(XEvent *e) { break; case MapRequest: { - #ifdef DEBUG +#ifdef DEBUG fprintf(stderr, I18n::instance()-> getMessage( FBNLS::blackboxSet, FBNLS::blackboxMapRequest, "Fluxbox::process_event(): MapRequest for 0x%lx\n"), e->xmaprequest.window); - #endif // DEBUG +#endif // DEBUG - #ifdef SLIT - #ifdef KDE +#ifdef SLIT +#ifdef KDE //Check and see if client is KDE dock applet. //If so add to Slit bool iskdedockapp = False; @@ -620,8 +620,8 @@ void Fluxbox::process_event(XEvent *e) { } return; } - #endif //KDE - #endif // SLIT +#endif //KDE +#endif // SLIT FluxboxWindow *win = searchWindow(e->xmaprequest.window); @@ -1045,11 +1045,11 @@ void Fluxbox::handleUnmapNotify(XUnmapEvent &ue) { // Handles XClientMessageEvent //----------------------------------------- void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { - #ifdef DEBUG +#ifdef DEBUG cerr<<__FILE__<<"("<<__LINE__<<"): ClientMessage. data.l[0]=0x"<setGnomeState(flag); } else if (ce.message_type == getGnomeHintsAtom()) { - #ifdef DEBUG +#ifdef DEBUG cerr<<__FILE__<<"("<<__LINE__<<"): _WIN_HINTS"<