view src/w32inevt.h @ 11614:fdd0d5bdd8c6

(popup_get_selection): Use x_non_menubar_window_to_frame. Either queue or dispatch the event, but not both. (dialog_selection_callback): Clear popup_activated_flag. (Fx_popup_menu): If POSITION is just (menu-bar), use the current mouse position. (menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
author Karl Heuer <kwzh@gnu.org>
date Sat, 29 Apr 1995 04:21:23 +0000
parents b2d5260a5da0
children ee40177f6c68
line wrap: on
line source

/* Win32 input routines.
   Copyright (C) 1995 Free Software Foundation, Inc.

   This file is part of GNU Emacs.

   GNU Emacs is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   GNU Emacs is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with GNU Emacs; see the file COPYING.  If not, write to
   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */

#ifndef __NTINEVT_H__
#define __NTINEVT_H__

int win32_read_socket (/* int sd, struct input_event *bufp, int numchars,
			  int waitp, int expected */);
void win32_mouse_position (/* FRAME_PTR *f,
			      Lisp_Object *bar_window,
			      enum scroll_bar_part *part,
			      Lisp_Object *x,
			      Lisp_Object *y,
			      unsigned long *time */);

#endif