]> Dogcows Code - chaz/openbox/commitdiff
dont let kde override-redirect windows be moved or resized
authorDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:42:42 +0000 (08:42 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:42:42 +0000 (08:42 +0000)
src/client.cc

index 36019d9987c41c270ff19459980c9f010a1c9132..54e53032a793776f23673e0ca266d83ab9b4456a 100644 (file)
@@ -189,9 +189,10 @@ void Client::getType()
       else if (val[i] == otk::Property::atoms.net_wm_window_type_normal)
         _type = Type_Normal;
       else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override){
-        // prevent this window from getting any decor
-        _mwmhints.flags &= MwmFlag_Decorations;
+        // prevent this window from getting any decor or functionality
+        _mwmhints.flags &= MwmFlag_Functions | MwmFlag_Decorations;
         _mwmhints.decorations = 0;
+        _mwmhints.functions = 0;
       }
       if (_type != (WindowType) -1)
         break; // grab the first known type
This page took 0.024417 seconds and 4 git commands to generate.