aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-02-17 20:49:15 +0100
committerDavid Robillard <d@drobilla.net>2019-02-17 21:16:57 +0100
commit197c19b74bd26f5a7526a88621a556f551b2db5a (patch)
treec9462855439c6f9cbd9f02cd5d754e5b55a73835 /pugl/pugl_win.cpp
parent51dcb00d5a5e6874f1e83d9cafb9ca2c1bd8bbf7 (diff)
downloadpugl-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.cpp2
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