summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-10 02:58:09 +0000
committerDana Jansens <danakj@orodu.net>2002-05-10 02:58:09 +0000
commit098fae70a6d8d15877938080437f0fc20f52bbf5 (patch)
treec36efeb00bd5dda3c854c05296de870efac7f2f2 /src/Window.cc
parentec10256a787c49fac27474a0fb344d9a56012f3f (diff)
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
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 4 insertions, 1 deletions
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 <iostream>
+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;