aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.cpp
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-28 00:16:15 +0200
committerDavid Robillard <d@drobilla.net>2014-12-16 16:27:04 -0500
commitc136194b24c013977e95d53c62d712e721d21661 (patch)
tree933a41d5b0775fc3576fb167a2cf62e0cbea1991 /pugl/pugl_win.cpp
parentd90fd25f149058a518acc088d4d72fffdacf40a0 (diff)
downloadpugl-c136194b24c013977e95d53c62d712e721d21661.tar.gz
pugl-c136194b24c013977e95d53c62d712e721d21661.tar.bz2
pugl-c136194b24c013977e95d53c62d712e721d21661.zip
Never redisplay after close.
Conflicts: pugl/pugl_x11.c
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r--pugl/pugl_win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index cc6fc41..204afaf 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -364,6 +364,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
case PUGL_LOCAL_CLOSE_MSG:
if (view->closeFunc) {
view->closeFunc(view);
+ view->redisplay = false;
}
break;
default: