comparison src/frame-x.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 5fd7ba8b56e7
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
703 widget is realized (instead, the shell's geometry resource is 703 widget is realized (instead, the shell's geometry resource is
704 used). */ 704 used). */
705 705
706 static void 706 static void
707 x_set_initial_frame_size (struct frame *f, int flags, int x, int y, 707 x_set_initial_frame_size (struct frame *f, int flags, int x, int y,
708 unsigned int w, unsigned int h) 708 int w, int h)
709 { 709 {
710 char shell_geom [255]; 710 char shell_geom [255];
711 int xval, yval; 711 int xval, yval;
712 char xsign, ysign; 712 char xsign, ysign;
713 char uspos = !!(flags & (XValue | YValue)); 713 char uspos = !!(flags & (XValue | YValue));
1106 Widget wid = FRAME_X_TEXT_WIDGET (f); 1106 Widget wid = FRAME_X_TEXT_WIDGET (f);
1107 Display *display = XtDisplayOfObject (wid); 1107 Display *display = XtDisplayOfObject (wid);
1108 struct device *d = get_device_from_display (display); 1108 struct device *d = get_device_from_display (display);
1109 struct x_device *xd = DEVICE_X_DATA (d); 1109 struct x_device *xd = DEVICE_X_DATA (d);
1110 XWindowAttributes win_attrib; 1110 XWindowAttributes win_attrib;
1111 unsigned int modifier = 0, state = 0; 1111 int modifier = 0, state = 0;
1112 char *Ctext; 1112 char *Ctext;
1113 int numItems = 0, textlen = 0, pos = 0; 1113 int numItems = 0, textlen = 0, pos = 0;
1114 Lisp_Event *lisp_event = XEVENT (event); 1114 Lisp_Event *lisp_event = XEVENT (event);
1115 Lisp_Object item = Qnil; 1115 Lisp_Object item = Qnil;
1116 struct gcpro gcpro1; 1116 struct gcpro gcpro1;
1332 Widget wid = FRAME_X_TEXT_WIDGET (f); 1332 Widget wid = FRAME_X_TEXT_WIDGET (f);
1333 Display *display = XtDisplayOfObject (wid); 1333 Display *display = XtDisplayOfObject (wid);
1334 struct device *d = get_device_from_display (display); 1334 struct device *d = get_device_from_display (display);
1335 struct x_device *xd = DEVICE_X_DATA (d); 1335 struct x_device *xd = DEVICE_X_DATA (d);
1336 XWindowAttributes win_attrib; 1336 XWindowAttributes win_attrib;
1337 unsigned int modifier = 0, state = 0; 1337 int modifier = 0, state = 0;
1338 char *dnd_data = NULL; 1338 char *dnd_data = NULL;
1339 unsigned long dnd_len = 0; 1339 long dnd_len = 0;
1340 int dnd_typ = DndText, dnd_dealloc = 0; 1340 int dnd_typ = DndText, dnd_dealloc = 0;
1341 Lisp_Event *lisp_event = XEVENT (event); 1341 Lisp_Event *lisp_event = XEVENT (event);
1342 1342
1343 /* only drag if this is really a press */ 1343 /* only drag if this is really a press */
1344 if (EVENT_TYPE(lisp_event) != button_press_event) 1344 if (EVENT_TYPE(lisp_event) != button_press_event)