comparison src/xterm.c @ 29435:28c6b6d0ed6b

(x_calc_absolute_position): Declare nchildren unsigned.
author Dave Love <fx@gnu.org>
date Mon, 05 Jun 2000 14:19:33 +0000
parents 3ad9354ade23
children 679888a29324
comparison
equal deleted inserted replaced
29434:3d157c3d1f51 29435:28c6b6d0ed6b
11139 xim_inst->resource_name = (char *) xmalloc (len + 1); 11139 xim_inst->resource_name = (char *) xmalloc (len + 1);
11140 bcopy (resource_name, xim_inst->resource_name, len + 1); 11140 bcopy (resource_name, xim_inst->resource_name, len + 1);
11141 XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb, 11141 XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb,
11142 resource_name, EMACS_CLASS, 11142 resource_name, EMACS_CLASS,
11143 xim_instantiate_callback, 11143 xim_instantiate_callback,
11144 (XPointer)xim_inst); 11144 /* Fixme: This is XPointer in
11145 XFree86 but (XPointer *) on
11146 Tru64, at least. */
11147 (XPointer) xim_inst);
11145 #else /* not HAVE_X11R6_XIM */ 11148 #else /* not HAVE_X11R6_XIM */
11146 dpyinfo->xim = NULL; 11149 dpyinfo->xim = NULL;
11147 xim_open_dpy (dpyinfo, resource_name); 11150 xim_open_dpy (dpyinfo, resource_name);
11148 #endif /* not HAVE_X11R6_XIM */ 11151 #endif /* not HAVE_X11R6_XIM */
11149 } 11152 }
11217 &child); 11220 &child);
11218 if (x_had_errors_p (FRAME_X_DISPLAY (f))) 11221 if (x_had_errors_p (FRAME_X_DISPLAY (f)))
11219 { 11222 {
11220 Window newroot, newparent = 0xdeadbeef; 11223 Window newroot, newparent = 0xdeadbeef;
11221 Window *newchildren; 11224 Window *newchildren;
11222 int nchildren; 11225 unsigned int nchildren;
11223 11226
11224 if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot, 11227 if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot,
11225 &newparent, &newchildren, &nchildren)) 11228 &newparent, &newchildren, &nchildren))
11226 break; 11229 break;
11227 11230