enum scroll_bar_part *,
Lisp_Object *, Lisp_Object *,
Time *);
-static int x_handle_net_wm_state (struct frame *, const XPropertyEvent * const);
+static int x_handle_net_wm_state (struct frame *, const XPropertyEvent *);
static void x_check_fullscreen (struct frame *);
static void x_check_expected_move (struct frame *, int, int);
static void x_sync_with_move (struct frame *, int, int, int);
static int handle_one_xevent (struct x_display_info *,
- const XEvent * const, int *,
+ const XEvent *, int *,
struct input_event *);
#ifdef USE_GTK
static int x_dispatch_event (XEvent *, Display *);
static struct frame *
x_menubar_window_to_frame (struct x_display_info *dpyinfo,
- const XEvent * const event)
+ const XEvent *event)
{
Window wdesc = event->xany.window;
Lisp_Object tail, frame;
static void
x_detect_focus_change (struct x_display_info *dpyinfo, struct frame *frame,
- const XEvent * const event, struct input_event *bufp)
+ const XEvent *event, struct input_event *bufp)
{
if (!frame)
return;
static Lisp_Object
construct_mouse_click (struct input_event *result,
- const XButtonEvent * const event,
+ const XButtonEvent *event,
struct frame *f)
{
/* Make the event type NO_EVENT; we'll change that when we decide
static Lisp_Object last_mouse_motion_frame;
static int
-note_mouse_movement (struct frame *frame, const XMotionEvent * const event)
+note_mouse_movement (struct frame *frame, const XMotionEvent *event)
{
last_mouse_movement_time = event->time;
last_mouse_motion_event = *event;
in *IEVENT. */
static void
-x_scroll_bar_to_input_event (const XEvent * const event,
+x_scroll_bar_to_input_event (const XEvent *event,
struct input_event *ievent)
{
XClientMessageEvent *ev = (XClientMessageEvent *) event;
mark bits. */
static void
-x_scroll_bar_expose (struct scroll_bar *bar, const XEvent * const event)
+x_scroll_bar_expose (struct scroll_bar *bar, const XEvent *event)
{
Window w = bar->x_window;
struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window)));
static void
x_scroll_bar_handle_click (struct scroll_bar *bar,
- const XEvent * const event,
+ const XEvent *event,
struct input_event *emacs_event)
{
if (! WINDOWP (bar->window))
static void
x_scroll_bar_note_movement (struct scroll_bar *bar,
- const XMotionEvent * const event)
+ const XMotionEvent *event)
{
struct frame *f = XFRAME (XWINDOW (bar->window)->frame);
static int
handle_one_xevent (struct x_display_info *dpyinfo,
- const XEvent * const event,
+ const XEvent *event,
int *finish, struct input_event *hold_quit)
{
union {
goto OTHER;
#endif /* USE_X_TOOLKIT */
{
- const XSelectionClearEvent * const eventp = &event->xselectionclear;
+ const XSelectionClearEvent *eventp = &event->xselectionclear;
inev.ie.kind = SELECTION_CLEAR_EVENT;
SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display;
goto OTHER;
#endif /* USE_X_TOOLKIT */
{
- const XSelectionRequestEvent * const eventp = &event->xselectionrequest;
+ const XSelectionRequestEvent *eventp = &event->xselectionrequest;
inev.ie.kind = SELECTION_REQUEST_EVENT;
SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display;
static int
-x_handle_net_wm_state (struct frame *f, const XPropertyEvent * const event)
+x_handle_net_wm_state (struct frame *f, const XPropertyEvent *event)
{
int value = FULLSCREEN_NONE;
Lisp_Object lval;