changeset 1054 | 1c1ff42df15b |
parent 1053 | 93e3ac736fe9 |
child 1055 | 26e1d9d7b410 |
1053:93e3ac736fe9 | 1054:1c1ff42df15b |
---|---|
1 diff -ur old/src/sun_mouse.c new/src/sun_mouse.c |
|
2 --- src/sun_mouse.c Thu Feb 11 17:09:23 2010 |
|
3 +++ src/sun_mouse.c Thu Feb 11 17:10:24 2010 |
|
4 @@ -438,6 +438,9 @@ |
|
5 ScrnInfoPtr pScr = XF86SCRNINFO(pScreen); |
|
6 int result; |
|
7 |
|
8 + if (!pScr->currentMode) |
|
9 + return; |
|
10 + |
|
11 if ((pVuidMse->absres.width != pScr->currentMode->HDisplay) || |
|
12 (pVuidMse->absres.height != pScr->currentMode->VDisplay)) |
|
13 { |