diff options
author | Thomas Thurman <tthurman@gnome.org> | 2009-07-10 08:09:19 -0400 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2009-07-10 08:09:19 -0400 |
commit | af0cf76df3eea6d6857a07a0193fd5bd0234c75e (patch) | |
tree | 2eb65f5974d2395a0d9d9a3df496c6bd5dd23a03 | |
parent | 9bdb9ac8b6a2716d82a4f05b1692e19dfff6c347 (diff) | |
download | metacity-af0cf76df3eea6d6857a07a0193fd5bd0234c75e.tar.gz |
use title if we don't have a role
-rw-r--r-- | src/core/matching.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/matching.c b/src/core/matching.c index 8b72f6e8..5a001e63 100644 --- a/src/core/matching.c +++ b/src/core/matching.c @@ -55,11 +55,11 @@ meta_matching_save_to_role (MetaWindow *window) gint x, y, w, h; gchar *role = window->role; + if (!role) /* hacky fallback */ + role = window->title; + if (!role) - { - g_warning ("No role: aborting\n"); return; - } load_matching_data (); |