]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
disable middle menus by default
[chaz/openbox] / openbox / client.c
index 866c6c01b00154a9dc4ab15382e97119b529e570..457a0f6ad03e2292406335d7d49d552b20cf5fb2 100644 (file)
@@ -1304,7 +1304,8 @@ void client_setup_decor_and_functions(ObClient *self)
                    (self->mwmhints.decorations & OB_MWM_DECOR_TITLE)))
                 /* if the mwm hints request no handle or title, then all
                    decorations are disabled */
-                self->decorations = config_theme_keepborder ? OB_FRAME_DECOR_BORDER : 0;
+                self->decorations = config_theme_keepborder ?
+                    self->decorations & OB_FRAME_DECOR_BORDER : 0;
         }
     }
 
This page took 0.024963 seconds and 4 git commands to generate.