mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
Don't use bit 7 for signalling in a signed type...
This commit is contained in:
parent
d89440a16e
commit
9f42cc94a5
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
10
src/theme.c
10
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue