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
This commit is contained in:
parent
35356e00f0
commit
1879695199
|
@ -2506,3 +2506,9 @@ Tue Sep 28 18:54:16 PDT 1999 Michael Jennings <mej@eterm.org>
|
|||
with too many entries will no longer crash Eterm.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
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. :-)
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
|
@ -1574,7 +1574,6 @@ shell_expand(char *s)
|
|||
Output = (char *) MALLOC(fsize + 1);
|
||||
fread(Output, fsize, 1, fp);
|
||||
Output[fsize] = 0;
|
||||
D_ENL(("Command returned \"%s\". Output length is %lu, j = %lu, max - j == %lu\n", Output, fsize, j, max - j));
|
||||
fclose(fp);
|
||||
remove(OutFile);
|
||||
Output = CondenseWhitespace(Output);
|
||||
|
|
|
@ -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); \
|
||||
|
|
Loading…
Reference in New Issue