Mon Apr 24 18:46:25 PDT 2000 Michael Jennings <mej@eterm.org>
Work around that polka-dot-making Imlib2 problem until it can be fixed properly. SVN revision: 2531
This commit is contained in:
parent
94b6a6d426
commit
cd259557d7
|
@ -3508,3 +3508,9 @@ Tue Apr 18 23:55:42 PDT 2000 Michael Jennings <mej@eterm.org>
|
|||
courtesy of Brian McFee <keebler@sandwich.net>.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Mon Apr 24 18:46:25 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||
|
||||
Work around that polka-dot-making Imlib2 problem until it can be
|
||||
fixed properly.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
|
@ -1053,8 +1053,11 @@ render_simage(simage_t * simg, Window win, unsigned short width, unsigned short
|
|||
D_PIXMAP(("Rendering image simg->iml->im [%8p] to %hdx%hd pixmap\n", simg->iml->im, xscaled, yscaled));
|
||||
imlib_render_pixmaps_for_whole_image_at_size(&simg->pmap->pixmap, &simg->pmap->mask, 0, xscaled, yscaled);
|
||||
rendered = 1;
|
||||
if (simg->pmap->mask != None) {
|
||||
shaped_window_apply_mask(win, simg->pmap->mask);
|
||||
/* FIXME: This is a hack around an apparent Imlib2 bug! */
|
||||
if (which == image_up || which == image_down || which == image_st) {
|
||||
if (simg->pmap->mask != None) {
|
||||
shaped_window_apply_mask(win, simg->pmap->mask);
|
||||
}
|
||||
}
|
||||
if (simg->pmap->pixmap != None) {
|
||||
if (pixmap != None) {
|
||||
|
|
|
@ -132,6 +132,7 @@ eterm_bootstrap(int argc, char *argv[])
|
|||
imlib_context_set_display(Xdisplay);
|
||||
imlib_context_set_visual(Xvisual);
|
||||
imlib_context_set_colormap(cmap);
|
||||
imlib_context_set_dither_mask(0);
|
||||
|
||||
get_modifiers(); /* Set up modifier masks before parsing config files. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue