Hi,
I've got to stop working on this for a while.
The 'best' minimal quick fix I have for the missed WM_KEYUP events on exits
from xterms etc. in multiwindow is:-
diff -ubB orig_winmultiwindowwindow.c winmultiwindowwindow.c
--- save_winmultiwindowwindow.c 2003-05-18 19:19:59.000000000 +0100
+++ winmultiwindowwindow.c 2003-05-21 14:47:37.000000000 +0100
@@ -984,6 +984,12 @@
SendMessage(hwndScreen, message, wParam, lParam);
return 0;
+ case WM_SETFOCUS:
+ if (hwndScreen == NULL)
+ break;
+ winKeybdReleaseKeys ();
+ return 0;
+
case WM_SYSKEYDOWN:
case WM_SYSKEYUP:
case WM_SYSDEADCHAR:
It's a hack, it works for me, but it does not get to gripes with the
ultimate cause of the problem.
I will put more time and effort into this ASAP, with a view to fixing
problems, not adding to the work-arounds!
Colin