mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 04:15:50 +01:00
- the list multiple selection code is working now. it still needs some
minor work and cleanup. - made some bag and array functions to return void instead of int. - a few new array functions. - better handling of mouse wheel. !!! make clean after this update before you rebuild. some enums changed.
This commit is contained in:
@@ -817,9 +817,11 @@ handleActionEvents(XEvent *event, void *data)
|
||||
/* FIXME: change Mod1Mask with something else */
|
||||
if (event->xbutton.button==WINGsConfiguration.mouseWheelUp) {
|
||||
if (event->xbutton.state & ControlMask) {
|
||||
sPtr->flags.hitPart = WSDecrementPage;
|
||||
} else if (event->xbutton.state & ShiftMask) {
|
||||
sPtr->flags.hitPart = WSDecrementLine;
|
||||
} else {
|
||||
sPtr->flags.hitPart = WSDecrementPage;
|
||||
sPtr->flags.hitPart = WSDecrementWheel;
|
||||
}
|
||||
if (sPtr->action) {
|
||||
(*sPtr->action)(sPtr, sPtr->clientData);
|
||||
@@ -827,9 +829,11 @@ handleActionEvents(XEvent *event, void *data)
|
||||
}
|
||||
else if (event->xbutton.button==WINGsConfiguration.mouseWheelDown) {
|
||||
if (event->xbutton.state & ControlMask) {
|
||||
sPtr->flags.hitPart = WSIncrementPage;
|
||||
} else if (event->xbutton.state & ShiftMask) {
|
||||
sPtr->flags.hitPart = WSIncrementLine;
|
||||
} else {
|
||||
sPtr->flags.hitPart = WSIncrementPage;
|
||||
sPtr->flags.hitPart = WSIncrementWheel;
|
||||
}
|
||||
if (sPtr->action) {
|
||||
(*sPtr->action)(sPtr, sPtr->clientData);
|
||||
|
||||
Reference in New Issue
Block a user