Tue Dec 21 16:04:39 PST 1999 Michael Jennings <mej@eterm.org>

Fixed a little issue with setting the background pixmap to None via
	the menu.


SVN revision: 1729
This commit is contained in:
Michael Jennings 1999-12-21 16:04:02 +00:00
parent d4edaa77fc
commit d5373ead6a
2 changed files with 8 additions and 2 deletions

View File

@ -2946,3 +2946,9 @@ Tue Dec 21 13:19:06 PST 1999 Michael Jennings <mej@eterm.org>
strings like '-0+0'.
-------------------------------------------------------------------------------
Tue Dec 21 16:04:39 PST 1999 Michael Jennings <mej@eterm.org>
Fixed a little issue with setting the background pixmap to None via
the menu.
-------------------------------------------------------------------------------

View File

@ -2052,7 +2052,7 @@ xterm_seq(int op, const char *str)
#ifdef PIXMAP_SUPPORT
FOREACH_IMAGE(if (!image_mode_is(idx, MODE_IMAGE) && image_mode_is(idx, ALLOW_IMAGE)) {image_set_mode(idx, MODE_IMAGE);});
if (!strcmp(str, ";")) {
load_image("", image_bg);
image_set_mode(image_bg, MODE_SOLID);
bg_needs_update = 1;
} else {
nstr = (char *) strsep(&tnstr, ";");
@ -2067,7 +2067,7 @@ xterm_seq(int op, const char *str)
scaled = 1;
}
} else {
load_image("", image_bg);
image_set_mode(image_bg, MODE_SOLID);
bg_needs_update = 1;
}
}