summaryrefslogtreecommitdiffstats
path: root/include/rofi-types.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-01-29 17:56:45 +0100
committerDave Davenport <qball@gmpclient.org>2019-01-29 17:56:45 +0100
commit40da1b25e2e31ccb8c782b8bc73203a88d30d035 (patch)
treeaf03d04a57075ec7a99dc51a4b369d0dd7528b79 /include/rofi-types.h
parent964af7ad358ed948209858fc0621266df3bb611e (diff)
[Theme3.0] Change reference to use the CSS like var() syntax.
Supports defaults var(name, default); var(name); Where default can be another property. (https://www.w3schools.com/css/css3_variables.asp) This deprecates the @name syntax. Fixes: #876
Diffstat (limited to 'include/rofi-types.h')
-rw-r--r--include/rofi-types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rofi-types.h b/include/rofi-types.h
index 46b01f1b..ae9ccf02 100644
--- a/include/rofi-types.h
+++ b/include/rofi-types.h
@@ -176,7 +176,7 @@ typedef enum
WL_SOUTH_WEST = WL_SOUTH | WL_WEST,
} WindowLocation;
-typedef union
+typedef union _PropertyValue
{
/** integer */
int i;
@@ -197,6 +197,8 @@ typedef union
char *name;
/** Cached looked up ref */
struct Property *ref;
+ /** Property default */
+ struct Property *def_value;
} link;
/** Highlight Style */
RofiHighlightColorStyle highlight;