mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
theme: allow negative values for menu overlap
This fixes a regression introduced with:
dcd9b47e5b
This commit is contained in:
parent
f8ed199197
commit
07110d41ff
1 changed files with 2 additions and 4 deletions
|
|
@ -851,12 +851,10 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
}
|
||||
|
||||
if (match_glob(key, "menu.overlap.x")) {
|
||||
theme->menu_overlap_x = get_int_if_positive(
|
||||
value, "menu.overlap.x");
|
||||
theme->menu_overlap_x = atoi(value);
|
||||
}
|
||||
if (match_glob(key, "menu.overlap.y")) {
|
||||
theme->menu_overlap_y = get_int_if_positive(
|
||||
value, "menu.overlap.y");
|
||||
theme->menu_overlap_y = atoi(value);
|
||||
}
|
||||
if (match_glob(key, "menu.width.min")) {
|
||||
theme->menu_min_width = get_int_if_positive(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue