comparison src/redisplay-x.c @ 215:1f0dabaa0855 r20-4b6

Import from CVS: tag r20-4b6
author cvs
date Mon, 13 Aug 2007 10:07:35 +0200
parents 78f53ef88e17
children d44af0c54775
comparison
equal deleted inserted replaced
214:c5d88c05e1e9 215:1f0dabaa0855
2163 int x, y, width, height; 2163 int x, y, width, height;
2164 Lisp_Object frame; 2164 Lisp_Object frame;
2165 2165
2166 x = FRAME_LEFT_BORDER_START (f); 2166 x = FRAME_LEFT_BORDER_START (f);
2167 width = (FRAME_PIXWIDTH (f) - FRAME_REAL_LEFT_TOOLBAR_WIDTH (f) - 2167 width = (FRAME_PIXWIDTH (f) - FRAME_REAL_LEFT_TOOLBAR_WIDTH (f) -
2168 FRAME_REAL_RIGHT_TOOLBAR_WIDTH (f)); 2168 FRAME_REAL_RIGHT_TOOLBAR_WIDTH (f) -
2169 2 * FRAME_REAL_LEFT_TOOLBAR_BORDER_WIDTH (f) -
2170 2 * FRAME_REAL_RIGHT_TOOLBAR_BORDER_WIDTH (f));
2169 /* #### This adjustment by 1 should be being done in the macros. 2171 /* #### This adjustment by 1 should be being done in the macros.
2170 There is some small differences between when the menubar is on 2172 There is some small differences between when the menubar is on
2171 and off that we still need to deal with. */ 2173 and off that we still need to deal with. */
2172 y = FRAME_TOP_BORDER_START (f) - 1; 2174 y = FRAME_TOP_BORDER_START (f) - 1;
2173 height = (FRAME_PIXHEIGHT (f) - FRAME_REAL_TOP_TOOLBAR_HEIGHT (f) - 2175 height = (FRAME_PIXHEIGHT (f) - FRAME_REAL_TOP_TOOLBAR_HEIGHT (f) -
2174 FRAME_REAL_BOTTOM_TOOLBAR_HEIGHT (f)) + 1; 2176 FRAME_REAL_BOTTOM_TOOLBAR_HEIGHT (f) -
2177 2 * FRAME_REAL_TOP_TOOLBAR_BORDER_WIDTH (f) -
2178 2 * FRAME_REAL_BOTTOM_TOOLBAR_BORDER_WIDTH (f)) + 1;
2175 2179
2176 XClearArea (dpy, x_win, x, y, width, height, False); 2180 XClearArea (dpy, x_win, x, y, width, height, False);
2177 2181
2178 XSETFRAME (frame, f); 2182 XSETFRAME (frame, f);
2179 2183