summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-02-14 22:35:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-02-14 22:35:06 +0100
commit14a9702bb2365e51a6f8854f85a13b6e5cf4001c (patch)
tree6a6c396f017f4e4c10794d74e3550481be580477 /src/winwidget.c
parent4abbd21f698945a662ed57e2dad6b6b25de9e474 (diff)
parent5e75b5ef3e7d0270913c04645398bc3596c2a90a (diff)
Merge branch 'ulteq-dimension-pruning-without-preload'
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 3311383..9600465 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -115,7 +115,7 @@ winwidget winwidget_create_from_file(gib_list * list, char type)
ret->file = list;
ret->type = type;
- if (winwidget_loadimage(ret, file) == 0) {
+ if ((winwidget_loadimage(ret, file) == 0) || feh_should_ignore_image(ret->im)) {
winwidget_destroy(ret);
return(NULL);
}