diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-15 10:55:08 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-15 11:47:08 +0930 |
commit | d894e86aa5bea81147c4a7ad8630bcfb04156792 (patch) | |
tree | 2317c3fedf989e29e43140dc83e8a01ad1b7e556 /randr/rrpointer.c | |
parent | 5544c51447f551dfc6df64438873a7ce64743976 (diff) |
randr: remove superfluous check against uninitialised variable.
Thanks to Eamon Walsh for pointing this out.
Diffstat (limited to 'randr/rrpointer.c')
-rw-r--r-- | randr/rrpointer.c | 5 |
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)) |