diff options
-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 (); |