From e8ba62386cf95be7146564bed98646d6c5ae3cd2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Jan 2021 20:33:21 +0100 Subject: Fix puglSetMaxSize() on X11 --- src/x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/x11.c b/src/x11.c index 6c8f564..40a79f8 100644 --- a/src/x11.c +++ b/src/x11.c @@ -1275,8 +1275,8 @@ puglSetMinSize(PuglView* const view, const int width, const int height) PuglStatus puglSetMaxSize(PuglView* const view, const int width, const int height) { - view->minWidth = width; - view->minHeight = height; + view->maxWidth = width; + view->maxHeight = height; return updateSizeHints(view); } -- cgit v1.2.1