randr: remove superfluous check against uninitialised variable.
Thanks to Eamon Walsh for pointing this out.
This commit is contained in:
@@ -141,9 +141,6 @@ RRPointerScreenConfigured (ScreenPtr pScreen)
|
|||||||
int x, y;
|
int x, y;
|
||||||
DeviceIntPtr pDev;
|
DeviceIntPtr pDev;
|
||||||
|
|
||||||
if (pScreen != pCurrentScreen)
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (pDev = inputInfo.devices; pDev; pDev = pDev->next)
|
for (pDev = inputInfo.devices; pDev; pDev = pDev->next)
|
||||||
{
|
{
|
||||||
if (IsPointerDevice(pDev))
|
if (IsPointerDevice(pDev))
|
||||||
|
|||||||
Reference in New Issue
Block a user