]> Dogcows Code - chaz/openbox/commitdiff
put a header where it belongs
authorDana Jansens <danakj@orodu.net>
Wed, 4 Dec 2002 04:02:46 +0000 (04:02 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 4 Dec 2002 04:02:46 +0000 (04:02 +0000)
src/openbox.cc
src/openbox.hh
src/rootwindow.cc

index 72c603f29ef492194856ab5533f988c38a2fcafa..44d3b8c42cf92872bd21d75d1ce689d0167e0632 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "../version.h"
 #include "openbox.hh"
+#include "client.hh"
 #include "screen.hh"
 #include "otk/property.hh"
 #include "otk/display.hh"
index c810057f83fe9b097bde749742efa11533782fd8..75a3a2e0a4adbcf16d8eb7c476efadae7b6a9e25 100644 (file)
@@ -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.
 /*!
index a028ac81183b8ea8904e64d4a6ca3199e0973ba6..23361761c3f6674d347b24e32c23c0493308bf56 100644 (file)
@@ -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);
This page took 0.025783 seconds and 4 git commands to generate.