diff options
author | Michael Jennings <mej@kainx.org> | 1999-09-29 20:38:29 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 1999-09-29 20:38:29 +0000 |
commit | 18796951994ce955c1913c18e8fa01ccb6c6e9c6 (patch) | |
tree | ac98c6fd7ffd10f5421fbe9a9833c0278dbee65b /src/pixmap.h | |
parent | 35356e00f007d91eadc4bd4a893cce63c0ae0daf (diff) | |
download | eterm-18796951994ce955c1913c18e8fa01ccb6c6e9c6.tar.gz |
Wed Sep 29 15:30:47 PDT 1999 Michael Jennings <mej@eterm.org>
Make auto mode work with the terminal background (ETERM_BG) too.
Sorry raster. :-)
SVN revision: 455
Diffstat (limited to 'src/pixmap.h')
-rw-r--r-- | src/pixmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pixmap.h b/src/pixmap.h index 7afcf05..a923f8c 100644 --- a/src/pixmap.h +++ b/src/pixmap.h @@ -33,7 +33,9 @@ #ifdef PIXMAP_SUPPORT # define background_is_image() (images[image_bg].current && images[image_bg].current->iml && images[image_bg].current->iml->im) # define background_is_trans() (images[image_bg].mode & MODE_TRANS) -# define background_is_pixmap() (background_is_image() || background_is_trans()) +# define background_is_viewport() (images[image_bg].mode & MODE_VIEWPORT) +# define background_is_auto() (images[image_bg].mode & MODE_AUTO) +# define background_is_pixmap() (background_is_image() || background_is_trans() || background_is_viewport() || background_is_auto()) # define delete_simage(simg) do { \ Imlib_free_pixmap(imlib_id, (simg)->pmap->pixmap); \ Imlib_destroy_image(imlib_id, (simg)->iml->im); \ |