diff --git a/src/button/button-xbm.c b/src/button/button-xbm.c index 0110c3a1..87b888db 100644 --- a/src/button/button-xbm.c +++ b/src/button/button-xbm.c @@ -296,7 +296,7 @@ button_xbm_load(const char *button_name, const char *alt_name, } if (!pixmap.data) { - if (fallback_button[0] == 0xFF) { + if (fallback_button[0] == 0x40) { *buffer = NULL; return; } diff --git a/src/theme.c b/src/theme.c index 36b944f0..2c3af6bc 100644 --- a/src/theme.c +++ b/src/theme.c @@ -122,7 +122,7 @@ load_buttons(struct theme *theme) }, { "menu_hover", NULL, - { 0xFF, 0, 0, 0, 0, 0 }, + { 0x40, 0, 0, 0, 0, 0 }, { &theme->button_menu_active_hover, theme->window_active_button_menu_unpressed_image_color, @@ -134,7 +134,7 @@ load_buttons(struct theme *theme) }, { "iconify_hover", NULL, - { 0xFF, 0, 0, 0, 0, 0 }, + { 0x40, 0, 0, 0, 0, 0 }, { &theme->button_iconify_active_hover, theme->window_active_button_iconify_unpressed_image_color, @@ -146,7 +146,7 @@ load_buttons(struct theme *theme) }, { "max_hover", NULL, - { 0xFF, 0, 0, 0, 0, 0 }, + { 0x40, 0, 0, 0, 0, 0 }, { &theme->button_maximize_active_hover, theme->window_active_button_max_unpressed_image_color, @@ -158,7 +158,7 @@ load_buttons(struct theme *theme) }, { "max_hover_toggled", "max_toggled_hover", - { 0xFF, 0, 0, 0, 0, 0 }, + { 0x40, 0, 0, 0, 0, 0 }, { &theme->button_restore_active_hover, theme->window_active_button_max_unpressed_image_color, @@ -170,7 +170,7 @@ load_buttons(struct theme *theme) }, { "close_hover", NULL, - { 0xFF, 0, 0, 0, 0, 0 }, + { 0x40, 0, 0, 0, 0, 0 }, { &theme->button_close_active_hover, theme->window_active_button_close_unpressed_image_color,