openbox-3.5.0-title-matching.patch 546 B

123456789101112
  1. --- openbox-3.5.0/openbox/client.c 2011-08-01 22:14:58.000000000 +0200
  2. +++ openbox-3.5.0/openbox/client.c 2011-10-22 14:59:56.000000000 +0200
  3. @@ -883,7 +883,7 @@
  4. !g_pattern_match(app->role,
  5. strlen(self->role), self->role, NULL))
  6. match = FALSE;
  7. - else if (app->title &&
  8. + else if (app->title && self->title &&
  9. !g_pattern_match(app->title,
  10. strlen(self->title), self->title, NULL))
  11. match = FALSE;