]> Dogcows Code - chaz/openbox/commitdiff
grab the first known window type
authorDana Jansens <danakj@orodu.net>
Mon, 6 Jan 2003 04:44:00 +0000 (04:44 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 6 Jan 2003 04:44:00 +0000 (04:44 +0000)
src/client.cc

index b77eb8f075cb579d5f6c2d12bfc3a20336ce72c0..01e9a56ccdf41a3f281aeebfb5a8f324f00b4b22 100644 (file)
@@ -138,6 +138,8 @@ void OBClient::getType()
 //               property->atom(otk::OBProperty::kde_net_wm_window_type_override))
 //        mwm_decorations = 0; // prevent this window from getting any decor
       // XXX: make this work again
+      if (_type != (WindowType) -1)
+        break; // grab the first known type
     }
     delete val;
   }
This page took 0.028137 seconds and 4 git commands to generate.