emacs-22.0.50-fixed-resolution.patch 446 B

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