From 3b27edd5f5fe4f9f45f1dd54ec24dcc6181ddca9 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 15 Jan 2022 18:11:35 +0800 Subject: [PATCH] * src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code. --- src/emacsgtkfixed.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; } -- 2.39.2