diff --git a/openbox/client.c b/openbox/client.c index ccd30787..abb82723 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -214,7 +214,7 @@ static ObAppSettings *get_settings(ObClient *client) ObAppSettings *app = (ObAppSettings *) a->data; if ( - (app->name && && !app->class && !strcmp(app->name, client->name)) + (app->name && !app->class && !strcmp(app->name, client->name)) || (app->class && !app->name && !strcmp(app->class, client->class)) || (app->class && app->name && !strcmp(app->class, client->class) && !strcmp(app->name, client->name))