From 714e2ef487cb723e08de279ae7e20b6b62cfab0a Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 1 May 1999 23:46:27 +0000 Subject: [PATCH] Fixed a problem in WINGs related to the return type of XLookupString() in some cases. --- INSTALL | 1 + WINGs/wtextfield.c | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/INSTALL b/INSTALL index 9e32ef48..c2a05c84 100644 --- a/INSTALL +++ b/INSTALL @@ -15,6 +15,7 @@ SUPPORTED PLATFORMS - FreeBSD - NetBSD - OpenBSD +- BSDI 4.0 - Solaris 2.5.1, 2.5.2 - Solaris 2.6.0 - Solaris 2.7beta diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c index d2804b4e..e62a26b0 100644 --- a/WINGs/wtextfield.c +++ b/WINGs/wtextfield.c @@ -890,6 +890,16 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event) } break; + case XK_ISO_Left_Tab: + if (tPtr->view->prevFocusChain) { + W_SetFocusOfTopLevel(W_TopLevelOfView(tPtr->view), + tPtr->view->prevFocusChain); + tPtr->flags.notIllegalMovement = 1; + } + WMPostNotificationName(WMTextDidEndEditingNotification, tPtr, + (void*)WMBacktabTextMovement); + break; + case XK_Return: WMPostNotificationName(WMTextDidEndEditingNotification, tPtr, (void*)WMReturnTextMovement); -- 2.11.4.GIT