Skip to content

Commit

Permalink
Support TIFF and WEBP in icewmbg.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Oct 12, 2023
1 parent 4f8ccbb commit 5dc24b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/icewmbg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ static bool hasImageExt(const char* name) {
}
else if (len >= 6 && name[len - 5] == '.') {
const char* ext = &name[len - 4];
if (0 == strcasecmp(ext, "jpeg"))
if (0 == strcasecmp(ext, "jpeg") ||
0 == strcasecmp(ext, "tiff") ||
0 == strcasecmp(ext, "webp"))
return true;
}
return false;
Expand Down

0 comments on commit 5dc24b7

Please sign in to comment.