[gtk+/rendering-cleanup: 72/141] gdk: offscreen window source drawable now is the root window
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 72/141] gdk: offscreen window source drawable now is the root window
- Date: Sat, 11 Sep 2010 03:06:41 +0000 (UTC)
commit aae13735624855efe205f34903daef74aef0c202
Author: Benjamin Otte <otte redhat com>
Date: Wed Aug 25 23:39:30 2010 +0200
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.
gdk/gdkoffscreenwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index f0f7664..30df772 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -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*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]