changeset 1517:5986d49c62f9

fixed bug in overlay drawing
author nadvornik
date Sun, 05 Apr 2009 09:46:49 +0000
parents c30965f99b3c
children 4eed0789a828
files src/pixbuf-renderer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pixbuf-renderer.c	Sun Apr 05 09:25:48 2009 +0000
+++ b/src/pixbuf-renderer.c	Sun Apr 05 09:46:49 2009 +0000
@@ -1129,6 +1129,8 @@
 		od->x = x;
 		od->y = y;
 
+		if (!od->window) pr_overlay_init_window(pr, od);
+
 		pr_overlay_queue_draw(pr, od);
 		pr_overlay_get_position(pr, od, &px, &py, &pw, &ph);
 		gdk_window_move_resize(od->window, px, py, pw, ph);