summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-15 18:11:35 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-15 18:11:35 +0800
commit3b27edd5f5fe4f9f45f1dd54ec24dcc6181ddca9 (patch)
treee6a0d6a1d634c29cbb47f865a09dc74ce2c002a3
parentf43b8f3831951dfc93e99b2c9f0eeb8f6126ca88 (diff)
downloademacs-3b27edd5f5fe4f9f45f1dd54ec24dcc6181ddca9.tar.gz
* src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code.
-rw-r--r--src/emacsgtkfixed.c6
1 files changed, 1 insertions, 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;
}