Mercurial > geeqie
diff src/layout.c @ 208:fa0e05f985c3
set user-defined color as image background - patch by Laurent MONIN
author | nadvornik |
---|---|
date | Sat, 29 Mar 2008 10:38:15 +0000 |
parents | f6e307c7bad6 |
children | 343e560f8e15 |
line wrap: on
line diff
--- a/src/layout.c Sat Mar 29 10:11:02 2008 +0000 +++ b/src/layout.c Sat Mar 29 10:38:15 2008 +0000 @@ -1731,8 +1731,9 @@ { LayoutWindow *lw = work->data; work = work->next; - - if (lw->image) image_background_set_black(lw->image, black_window_background); + + if (!lw->image) continue; + image_background_set_color(lw->image, user_specified_window_background ? &window_background_color : NULL); } }