From 4df40ab8e04a587332774af167d723597cadfded Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 18 May 1999 20:52:09 +0000 Subject: [PATCH] Chnaged the scroller not to move the knob when touched, until dragged. --- WINGs/WINGs.h | 2 ++ WINGs/wscroller.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WINGs/WINGs.h b/WINGs/WINGs.h index 2b47c92d..f5d5d33a 100644 --- a/WINGs/WINGs.h +++ b/WINGs/WINGs.h @@ -881,6 +881,8 @@ void WMSetTextFieldNextTextField(WMTextField *tPtr, WMTextField *next); void WMSetTextFieldPrevTextField(WMTextField *tPtr, WMTextField *prev); +void WMSetTextFieldDelegate(WMTextField *tPtr, WMTextFieldDelegate *delegate); + extern char *WMTextDidChangeNotification; extern char *WMTextDidBeginEditingNotification; diff --git a/WINGs/wscroller.c b/WINGs/wscroller.c index 57f5d7ce..7d295423 100644 --- a/WINGs/wscroller.c +++ b/WINGs/wscroller.c @@ -655,7 +655,9 @@ handlePush(Scroller *sPtr, int pushX, int pushY, int alternate) sPtr->dragPoint -= 2 + knobP; } #endif /* STRICT_NEXT_BEHAVIOUR */ - handleMotion(sPtr, pushX, pushY); + /* This does not seem necesary here since we don't know yet if the + * knob will be dragged later. -Dan + handleMotion(sPtr, pushX, pushY); */ break; case WSKnobSlot: -- 2.11.4.GIT