diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-02 16:21:05 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-02 16:21:05 +0200 |
commit | 7352f1c2bacb1da3dc603f88da54176ddc5f9107 (patch) | |
tree | 91f8de3a1afb876ad9758ba9eeb07258d4bd6739 /lexer/theme-parser.y | |
parent | 48bf1709b6bcc316ad8019afc11d2cf8452817a0 (diff) |
Change PixelWidth to RofiPixelUnit.
Diffstat (limited to 'lexer/theme-parser.y')
-rw-r--r-- | lexer/theme-parser.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y index 139c8354..4d9dea69 100644 --- a/lexer/theme-parser.y +++ b/lexer/theme-parser.y @@ -447,18 +447,18 @@ t_property_distance /** distance unit. px, em, % */ t_property_unit -: T_UNIT_PX { $$ = PW_PX; } -| T_UNIT_EM { $$ = PW_EM; } -| T_PERCENT { $$ = PW_PERCENT; } +: T_UNIT_PX { $$ = ROFI_PU_PX; } +| T_UNIT_EM { $$ = ROFI_PU_EM; } +| T_PERCENT { $$ = ROFI_PU_PERCENT; } ; /****** * Line style * If not set, solid. */ t_property_line_style -: %empty { $$ = SOLID; } -| T_SOLID { $$ = SOLID; } -| T_DASH { $$ = DASH; } +: %empty { $$ = ROFI_HL_SOLID; } +| T_SOLID { $$ = ROFI_HL_SOLID; } +| T_DASH { $$ = ROFI_HL_DASH; } ; /** |