mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-01 11:32:34 +01:00
WINGs: Removed unused argument in function 'checkDropAllowed'
The function does not use the event argument, so remove it. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
452fe4dc89
commit
ca658beeb5
@@ -529,7 +529,7 @@ static void *checkActionAllowed(WMView * destView, WMDraggingInfo * info)
|
||||
return dropAllowedState;
|
||||
}
|
||||
|
||||
static void *checkDropAllowed(WMView * destView, XClientMessageEvent * event, WMDraggingInfo * info)
|
||||
static void *checkDropAllowed(WMView *destView, WMDraggingInfo *info)
|
||||
{
|
||||
storeRequiredTypeList(info);
|
||||
|
||||
@@ -664,7 +664,7 @@ static void *idleState(WMView * destView, XClientMessageEvent * event, WMDraggin
|
||||
|
||||
if (XDND_SOURCE_TYPES(info) != NULL) {
|
||||
/* enter message infos are available */
|
||||
return checkDropAllowed(destView, event, info);
|
||||
return checkDropAllowed(destView, info);
|
||||
}
|
||||
|
||||
/* waiting for enter message */
|
||||
@@ -685,7 +685,7 @@ static void *waitEnterState(WMView * destView, XClientMessageEvent * event, WMDr
|
||||
|
||||
if (sourceMsg == scr->xdndEnterAtom) {
|
||||
W_DragDestinationStoreEnterMsgInfo(info, destView, event);
|
||||
return checkDropAllowed(destView, event, info);
|
||||
return checkDropAllowed(destView, info);
|
||||
}
|
||||
|
||||
return waitEnterState;
|
||||
@@ -728,7 +728,7 @@ static void *dropNotAllowedState(WMView * destView, XClientMessageEvent * event,
|
||||
|
||||
if (sourceMsg == scr->xdndPositionAtom) {
|
||||
if (XDND_SOURCE_ACTION_CHANGED(info)) {
|
||||
return checkDropAllowed(destView, event, info);
|
||||
return checkDropAllowed(destView, info);
|
||||
} else {
|
||||
sendStatusMessage(destView, info, None);
|
||||
return dropNotAllowedState;
|
||||
@@ -764,7 +764,7 @@ static void *dropAllowedState(WMView * destView, XClientMessageEvent * event, WM
|
||||
|
||||
if (sourceMsg == scr->xdndPositionAtom) {
|
||||
if (XDND_SOURCE_ACTION_CHANGED(info)) {
|
||||
return checkDropAllowed(destView, event, info);
|
||||
return checkDropAllowed(destView, info);
|
||||
} else {
|
||||
sendStatusMessage(destView, info, XDND_DEST_ACTION(info));
|
||||
return dropAllowedState;
|
||||
|
||||
Reference in New Issue
Block a user