summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}