]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
add role matching to per app settings and fix a small memleak in the code that frees...
[chaz/openbox] / openbox / client.c
index a912acb4dcd2cd0d79e7365ebbfc189da9f0a58d..cfcc7da22c4241e28d31835717509dd907fba3de 100644 (file)
@@ -215,8 +215,8 @@ static ObAppSettings *get_settings(ObClient *client)
         
         if (!strcmp(app->name, client->name)) {
             ob_debug("Window matching: %s\n", app->name);
-
-            return app;
+            if (!app->role || !strcmp(app->role, client->role))
+                return app;
         }
 
         a = a->next;
This page took 0.022059 seconds and 4 git commands to generate.