From 24924367f9486b29b8b9fd024781ccb5f9e0e276 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 04:02:46 +0000 Subject: [PATCH] put a header where it belongs --- src/openbox.cc | 1 + src/openbox.hh | 2 +- src/rootwindow.cc | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/openbox.cc b/src/openbox.cc index 72c603f2..44d3b8c4 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -6,6 +6,7 @@ #include "../version.h" #include "openbox.hh" +#include "client.hh" #include "screen.hh" #include "otk/property.hh" #include "otk/display.hh" diff --git a/src/openbox.hh b/src/openbox.hh index c810057f..75a3a2e0 100644 --- a/src/openbox.hh +++ b/src/openbox.hh @@ -24,11 +24,11 @@ extern "C" { #include "otk/configuration.hh" #include "otk/eventdispatcher.hh" #include "otk/eventhandler.hh" -#include "client.hh" namespace ob { class OBScreen; +class OBClient; //! The main class for the Openbox window manager. /*! diff --git a/src/rootwindow.cc b/src/rootwindow.cc index a028ac81..23361761 100644 --- a/src/rootwindow.cc +++ b/src/rootwindow.cc @@ -100,10 +100,7 @@ void OBRootWindow::mapRequestHandler(const XMapRequestEvent &e) OBClient *client = Openbox::instance->findClient(e.window); - printf("Client: %lx\n", client); - if (client) { - printf("found client\n"); // XXX: uniconify and/or unshade the window } else { Openbox::instance->screen(_info->getScreenNumber())-> @@ -112,7 +109,6 @@ void OBRootWindow::mapRequestHandler(const XMapRequestEvent &e) } -#include void OBRootWindow::configureRequestHandler(const XConfigureRequestEvent &e) { OtkEventHandler::configureRequestHandler(e); -- 2.39.2