[gtk+/rendering-cleanup: 11/65] x11: Get display from window, not from impl-drawable's screen
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 11/65] x11: Get display from window, not from impl-drawable's screen
- Date: Thu, 2 Dec 2010 11:52:22 +0000 (UTC)
commit 7065a50dab76e9cda17b46756a537b04fa144cc2
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 6 02:00:16 2010 +0200
x11: Get display from window, not from impl-drawable's screen
gdk/x11/gdkwindow-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 11c8837..dc6ef6d 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -5467,7 +5467,7 @@ _gdk_windowing_window_set_composited (GdkWindow *window,
impl = GDK_WINDOW_IMPL_X11 (private->impl);
- display = gdk_screen_get_display (GDK_DRAWABLE_IMPL_X11 (impl)->screen);
+ display = gdk_window_get_display (window);
dpy = GDK_DISPLAY_XDISPLAY (display);
xid = GDK_WINDOW_XWINDOW (private);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]