win32: Make sure to set is_foreign for foreign pixmaps

This commit is contained in:
Alexander Larsson 2011-11-09 13:20:38 +01:00
parent a9b127660b
commit 36f2f822f2

View File

@ -486,6 +486,7 @@ gdk_pixmap_foreign_new (GdkNativeWindow anid)
draw_impl->handle = hbitmap;
draw_impl->colormap = NULL;
pix_impl->is_foreign = TRUE;
pix_impl->width = size.cx;
pix_impl->height = size.cy;
pix_impl->bits = NULL;