diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-16 21:34:37 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-16 21:34:37 +0200 |
commit | c08bf93fe5fd0f7192aec9ad0358da246c211e0f (patch) | |
tree | ce8343b59a831f83b410677d913ea82b526f8b1a /gdk/gdkwindowimpl.h | |
parent | d44d5301a6eef93211cbeb497f562586fc6eaf74 (diff) | |
download | gtk+-c08bf93fe5fd0f7192aec9ad0358da246c211e0f.tar.gz |
Don't reset window hints when showing multiple times
gdk_window_show() should only set the initial hints on the first
run, not if the window is already mapped when gdk_window_show is
called.
Diffstat (limited to 'gdk/gdkwindowimpl.h')
-rw-r--r-- | gdk/gdkwindowimpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index db1c2ac96f..5905de80f3 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -43,7 +43,8 @@ struct _GdkWindowImplIface { GTypeInterface g_iface; - void (* show) (GdkWindow *window); + void (* show) (GdkWindow *window, + gboolean already_mapped); void (* hide) (GdkWindow *window); void (* withdraw) (GdkWindow *window); void (* raise) (GdkWindow *window); |