From: Po Lu Date: Sat, 15 Jan 2022 10:11:35 +0000 (+0800) Subject: * src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code. X-Git-Tag: emacs-29.0.90~3034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b27edd5f5fe4f9f45f1dd54ec24dcc6181ddca9;p=emacs.git * src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code. --- diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c index da56031e2a4..a38ba35ad80 100644 --- a/src/emacsgtkfixed.c +++ b/src/emacsgtkfixed.c @@ -164,13 +164,9 @@ XSetWMSizeHints (Display *d, if ((hints->flags & PMinSize) && f) { -#ifdef HAVE_PGTK - int w = f->output_data.pgtk->size_hints.min_width; - int h = f->output_data.pgtk->size_hints.min_height; -#else int w = f->output_data.x->size_hints.min_width; int h = f->output_data.x->size_hints.min_height; -#endif + data[5] = w; data[6] = h; }