1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code.

This commit is contained in:
Po Lu 2022-01-15 18:11:35 +08:00
parent f43b8f3831
commit 3b27edd5f5

View 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;
}