From 16a43727faa87072aa79315c5812deb3bb4870d8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 3 Jun 2008 02:48:37 +0000 Subject: =?UTF-8?q?=20=20=20=20=20=20=20=20Bug=20536092=20=E2=80=93=20GtkE?= =?UTF-8?q?ntryCompletion's=20popup=20window=20should=20set=20type=20hint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gtk/gtkentrycompletion.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtkentrycompletion.c') 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); -- cgit v1.2.1