diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-06-03 02:48:37 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-06-03 02:48:37 +0000 |
commit | 16a43727faa87072aa79315c5812deb3bb4870d8 (patch) | |
tree | 957ffabc958776962c8045042bdbcf5dcabaefb9 /gtk | |
parent | 03e6bf29ab1f1d9968cd5e2471f03b9072b341d5 (diff) | |
download | gtk+-16a43727faa87072aa79315c5812deb3bb4870d8.tar.gz |
Bug 536092 – GtkEntryCompletion's popup window should set type hint
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
a type hint on the popup window to help compiz.
Patch by Vaclav Slavik.
svn path=/trunk/; revision=20294
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkentrycompletion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index ed1d3c1fe3..2fc582ecdf 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -505,6 +505,7 @@ gtk_entry_completion_init (GtkEntryCompletion *completion) /* pack it all */ priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP); gtk_window_set_resizable (GTK_WINDOW (priv->popup_window), FALSE); + gtk_window_set_type_hint(GTK_WINDOW(priv->popup_window), GDK_WINDOW_TYPE_HINT_COMBO); g_signal_connect (priv->popup_window, "key_press_event", G_CALLBACK (gtk_entry_completion_popup_key_event), completion); |