1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

added nana stuff

added lock option in docked icons
This commit is contained in:
kojima
1999-10-20 03:25:06 +00:00
parent 914648cc2b
commit eb87c40967
39 changed files with 1833 additions and 501 deletions

View File

@@ -140,7 +140,8 @@ RGetImageFromXPMData(RContext *context, char **data)
color_table[1][i] = green;
color_table[2][i] = blue;
color_table[3][i] = 255;
} else if (strncmp(&(data[line][j]), "None", 4)==0) {
} else if (strncmp(&(data[line][j]), "None", 4)==0
|| strncmp(&(data[line][j]), "none", 4)==0) {
color_table[3][i] = 0;
transp = 1;
} else {
@@ -315,7 +316,8 @@ RLoadXPM(RContext *context, char *file, int index)
color_table[1][i] = green;
color_table[2][i] = blue;
color_table[3][i] = 255;
} else if (strncmp(&(line[j]), "None", 4)==0) {
} else if (strncmp(&(line[j]), "None", 4)==0
|| strncmp(&(line[j]), "none", 4)==0) {
color_table[3][i] = 0;
transp = 1;
} else {