diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-16 17:34:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-16 18:31:28 -0500 |
commit | 77e91c76270156b63bbc539e6501f1cefb32066d (patch) | |
tree | 669e961e98598d30c468a30c216cbc4ee0e31afc | |
parent | 5a28f319f94f4329f750394e037a7df18ce98e73 (diff) |
Only handle Windows events for the view window.
Conflicts:
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 ad386fb..32ca6fb 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -459,7 +459,7 @@ wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_DESTROY: return 0; default: - if (view) { + if (view && hwnd == view->impl->hwnd) { return handleMessage(view, message, wParam, lParam); } else { return DefWindowProc(hwnd, message, wParam, lParam); |