[Xfce4-commits] <midori:master> Make sure completion window is not user-resizable
Christian Dywan
noreply at xfce.org
Mon Feb 20 22:00:02 CET 2012
Updating branch refs/heads/master
to a064a5f120e2157ff07b6303992de934432ee34c (commit)
from 8960da4c2fc5fdebbd16fbffe337bf59aa7b3ec3 (commit)
commit a064a5f120e2157ff07b6303992de934432ee34c
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Feb 20 21:54:26 2012 +0100
Make sure completion window is not user-resizable
Otherwise window managers may ignore programmatic
resizing entirely.
midori/midori-locationaction.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 2bc59e8..60a08e2 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -496,6 +496,8 @@ midori_location_action_popup_timeout_cb (gpointer data)
popup = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_type_hint (GTK_WINDOW (popup), GDK_WINDOW_TYPE_HINT_COMBO);
+ /* Window managers may ignore programmatic resize without this */
+ gtk_window_set_resizable (GTK_WINDOW (popup), FALSE);
popup_frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (popup_frame), GTK_SHADOW_ETCHED_IN);
gtk_container_add (GTK_CONTAINER (popup), popup_frame);
More information about the Xfce4-commits
mailing list