randr: remove superfluous check against uninitialised variable.
Thanks to Eamon Walsh for pointing this out.
This commit is contained in:
parent
5544c51447
commit
d894e86aa5
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue