]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
gets transients! woot. tested and such.. no groups still tho
[chaz/openbox] / src / client.cc
index b4015aae63227c877d492dffac86f4cb03d87799..34edff3e6e99444e9049006b4e4a3a41a0bbf451 100644 (file)
@@ -237,7 +237,7 @@ void OBClient::getMwmHints()
                      (unsigned long **)&hints))
     return;
   
-  if (num == MwmHints::elements) {
+  if (num >= MwmHints::elements) {
     // retrieved the hints
     _mwmhints.flags = hints[0];
     _mwmhints.functions = hints[1];
@@ -608,6 +608,7 @@ void OBClient::propertyHandler(const XPropertyEvent &e)
     getType();
     calcLayer(); // type may have changed, so update the layer
     setupDecorAndFunctions();
+    frame->adjustSize(); // this updates the frame for any new decor settings
   }
   else if (e.atom == property->atom(otk::OBProperty::net_wm_name) ||
            e.atom == property->atom(otk::OBProperty::wm_name))
This page took 0.031014 seconds and 4 git commands to generate.