Mercurial > vim
comparison src/os_unix.c @ 1510:56fb4ab9f62f v7.1.225
updated for version 7.1-225
author | vimboss |
---|---|
date | Sun, 13 Jan 2008 15:31:00 +0000 |
parents | c89903e16772 |
children | f0d6b2bb1093 |
comparison
equal
deleted
inserted
replaced
1509:79bba9e6af2b | 1510:56fb4ab9f62f |
---|---|
6143 return FALSE; | 6143 return FALSE; |
6144 | 6144 |
6145 if (xterm_trace == 1) | 6145 if (xterm_trace == 1) |
6146 { | 6146 { |
6147 /* Get the hints just before tracking starts. The font size might | 6147 /* Get the hints just before tracking starts. The font size might |
6148 * have changed recently */ | 6148 * have changed recently. */ |
6149 XGetWMNormalHints(xterm_dpy, x11_window, &xterm_hints, &got_hints); | 6149 if (!XGetWMNormalHints(xterm_dpy, x11_window, &xterm_hints, &got_hints) |
6150 if (!(got_hints & PResizeInc) | 6150 || !(got_hints & PResizeInc) |
6151 || xterm_hints.width_inc <= 1 | 6151 || xterm_hints.width_inc <= 1 |
6152 || xterm_hints.height_inc <= 1) | 6152 || xterm_hints.height_inc <= 1) |
6153 { | 6153 { |
6154 xterm_trace = -1; /* Not enough data -- disable tracing */ | 6154 xterm_trace = -1; /* Not enough data -- disable tracing */ |
6155 return FALSE; | 6155 return FALSE; |