diff options
author | David Robillard <d@drobilla.net> | 2012-04-30 19:28:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-30 19:28:11 +0000 |
commit | 7bfed660202401ef16730495e688ba4502c9b8ad (patch) | |
tree | 0a4d34235b8059d1c50ed37c43276a4f5b539169 | |
parent | 5982d745c315f2b73d43f82ca018d183198c15af (diff) |
Process events for our window only.
-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 a9641ad..a6b604f 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -215,7 +215,7 @@ puglProcessEvents(PuglView* view) int button; bool down = true; PuglKey key; - while (PeekMessage(&msg, /*view->impl->hwnd*/0, 0, 0, PM_REMOVE)) { + while (PeekMessage(&msg, view->impl->hwnd, 0, 0, PM_REMOVE)) { setModifiers(view); switch (msg.message) { case WM_CREATE: |