diff --git a/randr/rrsdispatch.c b/randr/rrsdispatch.c index 6de8775b0..a73aea7e4 100644 --- a/randr/rrsdispatch.c +++ b/randr/rrsdispatch.c @@ -116,7 +116,7 @@ SProcRRGetScreenResourcesCurrent(ClientPtr client) REQUEST_SIZE_MATCH(xRRGetScreenResourcesCurrentReq); swaps(&stuff->length); swapl(&stuff->window); - return (*ProcRandrVector[stuff->randrReqType]) (client); + return ProcRRGetScreenResourcesCurrent(client); } static int _X_COLD