summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 04:02:46 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 04:02:46 +0000
commit24924367f9486b29b8b9fd024781ccb5f9e0e276 (patch)
tree9510c0937bd0400a646136a5ae59f78bf322229e /src
parentfa05dc56ea0bf29100efd2cb4399d8f4818f73e7 (diff)
put a header where it belongs
Diffstat (limited to 'src')
-rw-r--r--src/openbox.cc1
-rw-r--r--src/openbox.hh2
-rw-r--r--src/rootwindow.cc4
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 <stdio.h>
void OBRootWindow::configureRequestHandler(const XConfigureRequestEvent &e)
{
OtkEventHandler::configureRequestHandler(e);