1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-31 13:05:52 +01:00

syncing with latst changes, because cvs will be moved

This commit is contained in:
dan
1999-02-23 14:46:39 +00:00
parent e7495baff7
commit 60980735fe
8 changed files with 43 additions and 45 deletions

View File

@@ -820,7 +820,8 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
switch (ksym) {
case XK_Tab:
if (event->xkey.state & ShiftMask) {
if (tPtr->view->prevFocusChain) {
if (tPtr->view->prevFocusChain &&
tPtr->view->prevFocusChain->flags.mapped) {
W_SetFocusOfTopLevel(W_TopLevelOfView(tPtr->view),
tPtr->view->prevFocusChain);
tPtr->flags.notIllegalMovement = 1;
@@ -828,7 +829,8 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
WMPostNotificationName(WMTextDidEndEditingNotification, tPtr,
(void*)WMBacktabTextMovement);
} else {
if (tPtr->view->nextFocusChain) {
if (tPtr->view->nextFocusChain &&
tPtr->view->nextFocusChain->flags.mapped) {
W_SetFocusOfTopLevel(W_TopLevelOfView(tPtr->view),
tPtr->view->nextFocusChain);
tPtr->flags.notIllegalMovement = 1;