--- emacs-22.0.50.20050907/src/xterm.c.orig 2005-09-07 13:46:42.000000000 +0900 +++ emacs-22.0.50.20050907/src/xterm.c 2005-09-07 16:49:25.000000000 +0900 @@ -10405,6 +10405,8 @@ /* Mac OS X 10.3's Xserver sometimes reports 0.0mm. */ mm = DisplayWidthMM (dpyinfo->display, screen_number); dpyinfo->resx = (mm < 1) ? 100 : pixels * 25.4 / mm; + dpyinfo->resy = 96; + dpyinfo->resx = 96; } dpyinfo->Xatom_wm_protocols