summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lwlib/lwlib-Xaw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index 76628ab8a0c..99bb5118838 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -299,6 +299,10 @@ make_dialog (name, parent, pop_up_p, shell_title, icon_name, text_input_slot, ra
ac = 0;
XtSetArg (av[ac], XtNtitle, shell_title); ac++;
XtSetArg (av[ac], XtNallowShellResize, True); ac++;
+
+ /* Don't allow any geometry request from the user. */
+ XtSetArg (av[ac], XtNgeometry, 0); ac++;
+
shell = XtCreatePopupShell ("dialog", transientShellWidgetClass,
parent, av, ac);
XtOverrideTranslations (shell, override);