[gtk+/rendering-cleanup: 92/113] x11: Query size on real drawable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 92/113] x11: Query size on real drawable
- Date: Wed, 21 Jul 2010 23:29:03 +0000 (UTC)
commit 7dd29a196f6660320f60a720d6fe87591494d6b0
Author: Benjamin Otte <otte redhat com>
Date: Mon Jul 19 13:15:10 2010 +0200
x11: Query size on real drawable
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
gdk/x11/gdkdrawable-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index ed569aa..2a4d9ac 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -711,7 +711,7 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
{
int width, height;
- gdk_drawable_get_size (drawable, &width, &height);
+ gdk_drawable_get_size (impl->wrapper, &width, &height);
impl->cairo_surface = _gdk_windowing_create_cairo_surface (drawable, width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]