]> Dogcows Code - chaz/openbox/blobdiff - src/frame.cc
split up widget and basewidget
[chaz/openbox] / src / frame.cc
index 339aa68b03017bd734fbd7ca54eb3647303b512a..aa1e868f14b36d850d1745821632814cb195120a 100644 (file)
@@ -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();
This page took 0.019895 seconds and 4 git commands to generate.