view oldXMenu/EvHand.c @ 83088:3af83746f912

Fix initialization order at bootstrap (Dan Nicolaescu). src/emacs.c (main): Call init_process before init_display to prevent losing the keyboard on stdin (reported by Dan Nicolaescu). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-128
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 29 Mar 2004 12:05:03 +0000
parents f0eb34e60705
children 8e5779acd195
line wrap: on
line source

#include "copyright.h"

/* $Header: /cvsroot/emacs/emacs/oldXMenu/EvHand.c,v 1.2 2003/09/01 15:45:47 miles Exp $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

/*
 * XMenu:	MIT Project Athena, X Window system menu package
 *
 * 	XMenuEventHandler - Set the XMenu asynchronous event handler.
 *
 *	Author:		Tony Della Fera, DEC
 *			December 19, 1985
 *
 */

#include "XMenuInt.h"

XMenuEventHandler(handler)
    int (*handler)();
{
    /*
     * Set the global event handler variable.
     */
    _XMEventHandler = handler;
}

/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
   (do not change this comment) */