Always enable mouse effects (workaround for issue #542)

This commit is contained in:
o9000 2016-01-07 19:38:23 +01:00
parent 79fa4b3ad5
commit dbf065ab12
2 changed files with 3 additions and 1 deletions

View file

@ -973,7 +973,8 @@ void add_entry(char *key, char *value)
else if (strcmp(key, "mouse_scroll_down") == 0)
get_action(value, &mouse_scroll_down);
else if (strcmp(key, "mouse_effects") == 0)
panel_config.mouse_effects = atoi(value);
// panel_config.mouse_effects = atoi(value);
panel_config.mouse_effects = 1;
else if (strcmp(key, "mouse_hover_icon_asb") == 0) {
extract_values(value, &value1, &value2, &value3);
panel_config.mouse_over_alpha = atoi(value1);

View file

@ -103,6 +103,7 @@ void default_panel()
panel_config.mouse_pressed_alpha = 100;
panel_config.mouse_pressed_saturation = 0;
panel_config.mouse_pressed_brightness = 0;
panel_config.mouse_effects = 1;
// First background is always fully transparent
Background transparent_bg;