forked from AuroraMiddleware/gtk
gdk: offscreen window source drawable now is the root window
As the source drawable is only used for creating pixmaps these days, we don't have to keep a real drawable around, but can just use the root window.
This commit is contained in:
parent
6d27362620
commit
d04bb38b28
@ -183,7 +183,7 @@ gdk_offscreen_window_get_source_drawable (GdkDrawable *drawable)
|
||||
{
|
||||
GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable);
|
||||
|
||||
return _gdk_drawable_get_source_drawable (offscreen->pixmap);
|
||||
return gdk_screen_get_root_window (offscreen->screen);
|
||||
}
|
||||
|
||||
static GdkScreen*
|
||||
|
Loading…
Reference in New Issue
Block a user