EmacsFixedPrivate *priv = fixed->priv;
#ifdef HAVE_PGTK
int w = priv->f->output_data.pgtk->size_hints.min_width;
+ if (minimum) *minimum = w;
+ if (natural) *natural = priv->f->output_data.pgtk->preferred_width;
#else
int w = priv->f->output_data.x->size_hints.min_width;
-#endif
if (minimum) *minimum = w;
if (natural) *natural = w;
+#endif
}
static void
EmacsFixedPrivate *priv = fixed->priv;
#ifdef HAVE_PGTK
int h = priv->f->output_data.pgtk->size_hints.min_height;
+ if (minimum) *minimum = h;
+ if (natural) *natural = priv->f->output_data.pgtk->preferred_height;
#else
int h = priv->f->output_data.x->size_hints.min_height;
-#endif
if (minimum) *minimum = h;
if (natural) *natural = h;
+#endif
}
sizeof (size_hints)) != 0)
{
block_input ();
+#ifndef HAVE_PGTK
gtk_window_set_geometry_hints (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
NULL, &size_hints, hint_flags);
+#endif
f->output_data.xp->size_hints = size_hints;
f->output_data.xp->hint_flags = hint_flags;
unblock_input ();
/* The last size hints set. */
GdkGeometry size_hints;
long hint_flags;
+ int preferred_width, preferred_height;
/* The widget of this screen. This is the window of a top widget. */
GtkWidget *widget;