mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
Chnaged the scroller not to move the knob when touched, until dragged.
This commit is contained in:
@@ -881,6 +881,8 @@ void WMSetTextFieldNextTextField(WMTextField *tPtr, WMTextField *next);
|
|||||||
|
|
||||||
void WMSetTextFieldPrevTextField(WMTextField *tPtr, WMTextField *prev);
|
void WMSetTextFieldPrevTextField(WMTextField *tPtr, WMTextField *prev);
|
||||||
|
|
||||||
|
void WMSetTextFieldDelegate(WMTextField *tPtr, WMTextFieldDelegate *delegate);
|
||||||
|
|
||||||
|
|
||||||
extern char *WMTextDidChangeNotification;
|
extern char *WMTextDidChangeNotification;
|
||||||
extern char *WMTextDidBeginEditingNotification;
|
extern char *WMTextDidBeginEditingNotification;
|
||||||
|
|||||||
@@ -655,7 +655,9 @@ handlePush(Scroller *sPtr, int pushX, int pushY, int alternate)
|
|||||||
sPtr->dragPoint -= 2 + knobP;
|
sPtr->dragPoint -= 2 + knobP;
|
||||||
}
|
}
|
||||||
#endif /* STRICT_NEXT_BEHAVIOUR */
|
#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;
|
break;
|
||||||
|
|
||||||
case WSKnobSlot:
|
case WSKnobSlot:
|
||||||
|
|||||||
Reference in New Issue
Block a user