summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-15 10:55:08 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-15 11:47:08 +0930
commitd894e86aa5bea81147c4a7ad8630bcfb04156792 (patch)
tree2317c3fedf989e29e43140dc83e8a01ad1b7e556
parent5544c51447f551dfc6df64438873a7ce64743976 (diff)
randr: remove superfluous check against uninitialised variable.
Thanks to Eamon Walsh for pointing this out.
-rw-r--r--randr/rrpointer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/randr/rrpointer.c b/randr/rrpointer.c
index e3b8b0395..6b934c0c6 100644
--- a/randr/rrpointer.c
+++ b/randr/rrpointer.c
@@ -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))