Mouse effects: changed defaults + disabled pixmap caching

This commit is contained in:
o9000
2015-11-06 11:46:15 +01:00
parent 96b9a46c07
commit 095b311edc
4 changed files with 19 additions and 10 deletions

View File

@@ -217,9 +217,9 @@ void add_entry (char *key, char *value)
if (!read_border_color_hover)
memcpy(&bg->border_hover, &bg->border, sizeof(Color));
if (!read_bg_color_press)
memcpy(&bg->back_pressed, &bg->back, sizeof(Color));
memcpy(&bg->back_pressed, &bg->back_hover, sizeof(Color));
if (!read_border_color_press)
memcpy(&bg->border_pressed, &bg->border, sizeof(Color));
memcpy(&bg->border_pressed, &bg->border_hover, sizeof(Color));
}
Background bg;
init_background(&bg);
@@ -1043,9 +1043,9 @@ int config_read_file (const char *path)
if (!read_border_color_hover)
memcpy(&bg->border_hover, &bg->border, sizeof(Color));
if (!read_bg_color_press)
memcpy(&bg->back_pressed, &bg->back, sizeof(Color));
memcpy(&bg->back_pressed, &bg->back_hover, sizeof(Color));
if (!read_border_color_press)
memcpy(&bg->border_pressed, &bg->border, sizeof(Color));
memcpy(&bg->border_pressed, &bg->border_hover, sizeof(Color));
}
return 1;