diff options
author | David Robillard <d@drobilla.net> | 2019-02-17 20:49:15 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-02-17 21:16:57 +0100 |
commit | 197c19b74bd26f5a7526a88621a556f551b2db5a (patch) | |
tree | c9462855439c6f9cbd9f02cd5d754e5b55a73835 /pugl/pugl_win.cpp | |
parent | 51dcb00d5a5e6874f1e83d9cafb9ca2c1bd8bbf7 (diff) | |
download | pugl-197c19b74bd26f5a7526a88621a556f551b2db5a.tar.gz pugl-197c19b74bd26f5a7526a88621a556f551b2db5a.tar.bz2 pugl-197c19b74bd26f5a7526a88621a556f551b2db5a.zip |
Add configuration API
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r-- | pugl/pugl_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index fd14593..2c092eb 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -138,7 +138,7 @@ puglCreateWindow(PuglView* view, const char* title) } int winFlags = WS_POPUPWINDOW | WS_CAPTION; - if (view->resizable) { + if (view->hints.resizable) { winFlags |= WS_SIZEBOX; if (view->min_width || view->min_height) { // Adjust the minimum window size to accomodate requested view size |