From 098fae70a6d8d15877938080437f0fc20f52bbf5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 10 May 2002 02:58:09 +0000 Subject: better gcc3 compat. using ostrstream again. and using namespace std; some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg --- src/Window.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index 48052658..5a28d232 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -56,6 +56,9 @@ #endif // SLIT #include "Util.h" +#include +using namespace std; + /* * Initializes the class with default values/the window's set initial values. */ @@ -1390,7 +1393,7 @@ Bool OpenboxWindow::setInputFocus(void) { XSetInputFocus(display, screen->getRootWindow(), RevertToNone, CurrentTime); - openbox.setFocusedWindow(this); + openbox.focusWindow(this); if (flags.send_focus_message) { XEvent ce; -- cgit v1.2.3