view oldXMenu/EvHand.c @ 83060:70063cb10ca9

Check for numchars > 0 in handle_one_xevent, not 1. src/xterm.c (handle_one_xevent): Check for numchars > 0 in the KeyPress case, not 1. (XTread_socket): Revert previous change. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-100
author Karoly Lorentey <lorentey@elte.hu>
date Thu, 26 Feb 2004 00:37:31 +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) */