]> Dogcows Code - chaz/openbox/commitdiff
oops, added borders to windows when keepborder was on and they didnt have one to...
authorMikael Magnusson <mikachu@comhem.se>
Thu, 31 Aug 2006 13:43:19 +0000 (13:43 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 31 Aug 2006 13:43:19 +0000 (13:43 +0000)
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.027375 seconds and 4 git commands to generate.