aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-28 20:33:21 +0100
committerDavid Robillard <d@drobilla.net>2021-01-28 20:33:21 +0100
commite8ba62386cf95be7146564bed98646d6c5ae3cd2 (patch)
tree2086ce81015ac8c449d37fb4351ba63e73868057
parente497eea68ca704f62d3a65f1bbe787167cd3ae3e (diff)
downloadpugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.tar.gz
pugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.tar.bz2
pugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.zip
Fix puglSetMaxSize() on X11
-rw-r--r--src/x11.c4
1 files changed, 2 insertions, 2 deletions
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);
}