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