[PATCH setup 6/9] Allow click-to-activate in PickView list control
Jon Turney
jon.turney@dronecode.org.uk
Tue Jun 6 11:55:00 GMT 2017
This helps somewhat with the problem reported in
https://cygwin.com/ml/cygwin/2017-05/msg00513.html
---
PickView.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/PickView.cc b/PickView.cc
index 222bcb8..0d7af7a 100644
--- a/PickView.cc
+++ b/PickView.cc
@@ -808,6 +808,9 @@ PickView::WindowProc (UINT message, WPARAM wParam, LPARAM lParam)
lastWindowRect = windowRect;
return 0;
}
+ case WM_MOUSEACTIVATE:
+ SetFocus(GetHWND());
+ return MA_ACTIVATE;
}
// default: can't handle this message
--
2.12.3
More information about the Cygwin-apps
mailing list