]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code.
authorPo Lu <luangruo@yahoo.com>
Sat, 15 Jan 2022 10:11:35 +0000 (18:11 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 15 Jan 2022 10:11:35 +0000 (18:11 +0800)
src/emacsgtkfixed.c

index da56031e2a43701f7e386364350a1ec641d7b924..a38ba35ad809d3fad6b6e0ef5409d8f7a6c62049 100644 (file)
@@ -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;
     }