diff options
author | David Robillard <d@drobilla.net> | 2021-01-28 20:33:21 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-28 20:33:21 +0100 |
commit | e8ba62386cf95be7146564bed98646d6c5ae3cd2 (patch) | |
tree | 2086ce81015ac8c449d37fb4351ba63e73868057 /src | |
parent | e497eea68ca704f62d3a65f1bbe787167cd3ae3e (diff) | |
download | pugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.tar.gz pugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.tar.bz2 pugl-e8ba62386cf95be7146564bed98646d6c5ae3cd2.zip |
Fix puglSetMaxSize() on X11
Diffstat (limited to 'src')
-rw-r--r-- | src/x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |