Always enable mouse effects (workaround for issue #542)
This commit is contained in:
parent
79fa4b3ad5
commit
dbf065ab12
2 changed files with 3 additions and 1 deletions
|
@ -973,7 +973,8 @@ void add_entry(char *key, char *value)
|
||||||
else if (strcmp(key, "mouse_scroll_down") == 0)
|
else if (strcmp(key, "mouse_scroll_down") == 0)
|
||||||
get_action(value, &mouse_scroll_down);
|
get_action(value, &mouse_scroll_down);
|
||||||
else if (strcmp(key, "mouse_effects") == 0)
|
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) {
|
else if (strcmp(key, "mouse_hover_icon_asb") == 0) {
|
||||||
extract_values(value, &value1, &value2, &value3);
|
extract_values(value, &value1, &value2, &value3);
|
||||||
panel_config.mouse_over_alpha = atoi(value1);
|
panel_config.mouse_over_alpha = atoi(value1);
|
||||||
|
|
|
@ -103,6 +103,7 @@ void default_panel()
|
||||||
panel_config.mouse_pressed_alpha = 100;
|
panel_config.mouse_pressed_alpha = 100;
|
||||||
panel_config.mouse_pressed_saturation = 0;
|
panel_config.mouse_pressed_saturation = 0;
|
||||||
panel_config.mouse_pressed_brightness = 0;
|
panel_config.mouse_pressed_brightness = 0;
|
||||||
|
panel_config.mouse_effects = 1;
|
||||||
|
|
||||||
// First background is always fully transparent
|
// First background is always fully transparent
|
||||||
Background transparent_bg;
|
Background transparent_bg;
|
||||||
|
|
Loading…
Reference in a new issue