view oldXMenu/EvHand.c @ 52557:4a93216e6678

(Vdefault_frame_scroll_bars): New variable. (x_set_vertical_scroll_bars): Use it instead of hardcoded values. (syms_of_frame): DEFVAR_LISP it, and initialize according to window-system default scroll bar position.
author Kim F. Storm <storm@cua.dk>
date Sat, 20 Sep 2003 23:26:20 +0000
parents 695cf19ef79e
children f0eb34e60705 e8824c4f5f7e 375f2633d815
line wrap: on
line source

#include "copyright.h"

/* $Header: /cvsroot/emacs/emacs/oldXMenu/EvHand.c,v 1.1 1999/10/03 19:35:01 fx 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) */