diff options
Diffstat (limited to 'src/vmware.h')
-rw-r--r-- | src/vmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmware.h b/src/vmware.h index 458390a..4818e16 100644 --- a/src/vmware.h +++ b/src/vmware.h @@ -177,7 +177,7 @@ typedef struct { #define VMWAREPTR(p) ((VMWAREPtr)((p)->driverPrivate)) static __inline ScrnInfoPtr infoFromScreen(ScreenPtr s) { - return xf86Screens[s->myNum]; + return xf86ScreenToScrn(s); } #define MIN(a,b) ((a)<(b)?(a):(b)) |