diff --git a/src/config.c b/src/config.c index 2a20290..b2a25e1 100644 --- a/src/config.c +++ b/src/config.c @@ -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); diff --git a/src/panel.c b/src/panel.c index a8dad77..1d1f254 100644 --- a/src/panel.c +++ b/src/panel.c @@ -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;