source: projects/specs/trunk/e/emacs23/emacs-23.1.90-fixed-resolution.patch @ 6322

Revision 6322, 540 bytes checked in by munepi, 12 years ago (diff)

added emacs23

RevLine 
[6322]1diff -up emacs-23.1.90/src/xterm.c\~ emacs-23.1.90/src/xterm.c
2--- emacs-23.1.90/src/xterm.c~  2009-12-10 08:52:48.000000000 +0900
3+++ emacs-23.1.90/src/xterm.c   2009-12-10 08:57:22.000000000 +0900
4@@ -10340,6 +10340,8 @@ x_term_init (display_name, xrm_option, r
5       mm = DisplayWidthMM (dpyinfo->display, screen_number);
6       /* Mac OS X 10.3's Xserver sometimes reports 0.0mm.  */
7       dpyinfo->resx = (mm < 1) ? 100 : pixels * 25.4 / mm;
8+      dpyinfo->resy = 96;
9+      dpyinfo->resx = 96;
10     }
11 
12   dpyinfo->Xatom_wm_protocols
Note: See TracBrowser for help on using the repository browser.