mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Put hack back -mig
This commit is contained in:
parent
f0e14b4328
commit
bb969259ad
@ -1,5 +1,7 @@
|
|||||||
1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gtrans.c (make_transparent_window): Put hack back.
|
||||||
|
|
||||||
* gcache.c (image_cache_load_image): Federico spooted the problem:
|
* gcache.c (image_cache_load_image): Federico spooted the problem:
|
||||||
I have to duplicate my keys for the hash.
|
I have to duplicate my keys for the hash.
|
||||||
|
|
||||||
|
@ -388,6 +388,13 @@ make_transparent_window (char *file)
|
|||||||
|
|
||||||
gtk_widget_set_usize (window, im->rgb_width, im->rgb_height);
|
gtk_widget_set_usize (window, im->rgb_width, im->rgb_height);
|
||||||
|
|
||||||
gdk_imlib_apply_image (im, window->window);
|
|
||||||
|
/* All of the following 3 lines should not be required, only
|
||||||
|
* gdk_imlib_apply_image, but is is buggy.
|
||||||
|
*/
|
||||||
|
gdk_imlib_render (im, im->rgb_width, im->rgb_height);
|
||||||
|
gdk_window_set_back_pixmap (window->window, gdk_imlib_move_image (im), FALSE);
|
||||||
|
gdk_window_shape_combine_mask (window->window, gdk_imlib_move_mask (im), 0, 0);
|
||||||
|
|
||||||
return window;
|
return window;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user