summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-06 22:04:55 +0000
committerDana Jansens <danakj@orodu.net>2007-05-06 22:04:55 +0000
commit6cd5f7ea380e155dbd7b29f01dd3fcfb5858ad61 (patch)
treef8910c9c2d387ea823a12833f62b335b4a09ae5d /openbox/client.c
parentc51373c20148422f1fd35a748c3cf18826496034 (diff)
document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all.
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index cbd42ef4..374ad404 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -639,13 +639,13 @@ static ObAppSettings *client_get_settings_state(ObClient *self)
|| (app->class && app->name && !strcmp(app->class, self->class)
&& !strcmp(app->name, self->name)))
{
- ob_debug("Window matching: %s\n", app->name);
/* Match if no role was specified in the per app setting, or if the
* string matches the beginning of the role, since apps like to set
* the role to things like browser-window-23c4b2f */
if (!app->role
|| !strncmp(app->role, self->role, strlen(app->role)))
{
+ ob_debug("Window matching: %s\n", app->name);
/* use this one */
settings = app;
break;