projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ae66c
)
remove temp include
author
Dana Jansens
<danakj@orodu.net>
Wed, 4 Dec 2002 08:30:19 +0000
(08:30 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 4 Dec 2002 08:30:19 +0000
(08:30 +0000)
src/frame.cc
patch
|
blob
|
history
diff --git
a/src/frame.cc
b/src/frame.cc
index 339aa68b03017bd734fbd7ca54eb3647303b512a..aa1e868f14b36d850d1745821632814cb195120a 100644
(file)
--- a/
src/frame.cc
+++ b/
src/frame.cc
@@
-16,10
+16,11
@@
extern "C" {
#include "otk/display.hh"
#include <string>
-#include <iostream> // TEMP
namespace ob {
+const long OBFrame::event_mask;
+
OBFrame::OBFrame(OBClient *client, otk::Style *style)
: otk::OtkWidget(Openbox::instance, style),
_client(client),
@@
-39,6
+40,8
@@
OBFrame::OBFrame(OBClient *client, otk::Style *style)
assert(client);
assert(style);
+ XSelectInput(otk::OBDisplay::display, getWindow(), OBFrame::event_mask);
+
unmanaged();
_titlebar.unmanaged();
_button_close.unmanaged();