]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
use the timer queue manager
[chaz/openbox] / src / client.cc
index f770fecd9f842c6625ed89ced3a03ddaef487f46..57bf5161cf75614765292d8400f17e7d18ef5eae 100644 (file)
@@ -27,6 +27,8 @@ OBClient::OBClient(int screen, Window window)
 {
   assert(window);
 
+  ignore_unmaps = 0;
+  
   // update EVERYTHING the first time!!
 
   // the state is kinda assumed to be normal. is this right? XXX
@@ -272,7 +274,10 @@ void OBClient::getMwmHints()
 void OBClient::getArea()
 {
   XWindowAttributes wattrib;
-  assert(XGetWindowAttributes(otk::OBDisplay::display, _window, &wattrib));
+  Status ret;
+  
+  ret = XGetWindowAttributes(otk::OBDisplay::display, _window, &wattrib);
+  assert(ret != BadWindow);
 
   _area.setRect(wattrib.x, wattrib.y, wattrib.width, wattrib.height);
   _border_width = wattrib.border_width;
This page took 0.020139 seconds and 4 git commands to generate.