summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-06 22:19:00 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-06 22:19:00 +0200
commit0824a1e48c45a6bb0d94eb56840dedb30b7c1822 (patch)
treeb5477e6d64b6814799d9ccada56a8ffdc1ffa29c /source
parent6b43fed3aa4a11ffd29afafc03ea5d6300b41953 (diff)
Inherit again, for modifiers.
Diffstat (limited to 'source')
-rw-r--r--source/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/theme.c b/source/theme.c
index 8c35dee4..05156600 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -458,7 +458,7 @@ Property *rofi_theme_find_property ( ThemeWidget *widget, PropertyType type, con
return NULL;
}
// Fall back to defaults.
- widget = widget == rofi_theme?NULL:rofi_theme;
+ widget = widget->parent;
}
return NULL;
}