diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-01-23 20:08:39 +0100 |
---|---|---|
committer | Alexander Larsson <alex@localhost.localdomain> | 2009-04-02 10:15:26 +0200 |
commit | 6a0d317866ff8f8c3e7efefa44f982f7bcbbc3b8 (patch) | |
tree | 1384af5a0bc390682920280652efb68ba0db6973 /gdk/gdkwindow.h | |
parent | cf54a2c68e93aacb418fa70b3ba326d694c14b8d (diff) | |
download | gtk+-6a0d317866ff8f8c3e7efefa44f982f7bcbbc3b8.tar.gz |
Keep track of the impl windows wrapper directly with a ref
This is needed so that the ->wrapper of the impl window doesn't
go away while there are virtual windows referencing the impl
window.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 0956dd693e..3b3683fa9b 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -326,6 +326,10 @@ struct _GdkWindowObject GdkWindowRedirect *redirect; const GdkOffscreenChildHooks *offscreen_hooks; + /* The GdkWindowObject that has the impl, ref:ed if another window. + * This ref is required to keep the wrapper of the impl window alive + * for as long as any GdkWindow references the impl. */ + GdkWindowObject *impl_window; int abs_x, abs_y; /* Absolute offset in impl */ gint width, height; guint32 clip_tag; |