Mercurial > emacs
diff src/widget.c @ 5994:b50531f2f37e
entered into RCS
| author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
|---|---|
| date | Fri, 18 Feb 1994 13:38:55 +0000 |
| parents | 99e5ff29c408 |
| children | 00fbbb620f36 |
line wrap: on
line diff
--- a/src/widget.c Fri Feb 18 13:24:41 1994 +0000 +++ b/src/widget.c Fri Feb 18 13:38:55 1994 +0000 @@ -167,11 +167,6 @@ int* pixel_width; int* pixel_height; { -/* - *pixel_width = XTextWidth (ew->emacs_frame.font, "n", 1); - *pixel_height = - ew->emacs_frame.font->ascent + ew->emacs_frame.font->descent; -*/ struct frame* f = ew->emacs_frame.frame; *pixel_width = FONT_WIDTH (f->display.x->font); *pixel_height = FONT_HEIGHT (f->display.x->font); @@ -866,30 +861,6 @@ return result->request_mode ? XtGeometryAlmost : XtGeometryYes; } -#if 0 -/* I don't know why this is necessary; Matthieu said he had to do - it to make the focus handlers work?? - */ -static void -key_press (w, event, params, n_params) - Widget w; - XEvent* event; - String *params; - Cardinal *n_params; -{ -} - -static void -emacs_frame_focus_handler (w, event, params, n_params) - Widget w; - XEvent *event; - String *params; - Cardinal *n_params; -{ - emacs_Xt_focus_event_handler (event, 0); -} -#endif - /* Special entrypoints */ void EmacsFrameSetCharSize (widget, columns, rows)
