From b9cac2146e1dfe54cb6c0ce647d6c7d58d17de54 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Nov 2002 04:08:26 +0000 Subject: WINDOWS GET FRAMES FRAME SHOW UP THEY WORK HUZZAH SOON THEYLL BE LIKE OLD TIMES! --- src/client.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/client.cc') diff --git a/src/client.cc b/src/client.cc index 4a99b0bc..55f2fb4c 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1,5 +1,9 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif + #include "client.hh" #include "screen.hh" #include "openbox.hh" @@ -18,8 +22,8 @@ extern "C" { namespace ob { -OBClient::OBClient(Window window) - : _window(window) +OBClient::OBClient(int screen, Window window) + : _screen(screen), _window(window) { assert(window); @@ -78,6 +82,7 @@ OBClient::OBClient(Window window) updateIconTitle(); updateClass(); +/* #ifdef DEBUG printf("Mapped window: 0x%lx\n" " title: \t%s\t icon title: \t%s\n" @@ -123,6 +128,7 @@ OBClient::OBClient(Window window) _floating ? "yes" : "no", _positioned ? "yes" : "no"); #endif +*/ } -- cgit v1.2.3