Mac OS X: Fetch the current viewport dimensions instead of assuming them equal to the current window size
Authored by: elias_naur 2005-09-09
Parent: [r2116]
Child: [r2118]