forked from AuroraMiddleware/gtk
win32: Make sure to set is_foreign for foreign pixmaps
This commit is contained in:
parent
a9b127660b
commit
36f2f822f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user