1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 07:02:30 +01:00

Chnaged the scroller not to move the knob when touched, until dragged.

This commit is contained in:
dan
1999-05-18 20:52:09 +00:00
parent 5a7a706fc4
commit 4df40ab8e0
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -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: