]> code.delx.au - gnu-emacs/commitdiff
(handle_one_xevent): Refer to union field to match the type
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 27 Sep 2005 21:14:23 +0000 (21:14 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 27 Sep 2005 21:14:23 +0000 (21:14 +0000)
required by the function definition.

src/ChangeLog
src/xterm.c

index caa9cefe376636df0475df3bea6e914c08cf97ae..51af064232bedf0de53dfc02155b644c27dfb003 100644 (file)
@@ -11,6 +11,8 @@
        * systime.h (get_operating_system_release): ... here.
 
        * xterm.c (set_vertical_scroll_bar): Move prototype ...
+       (handle_one_xevent): Refer to union field to match the type
+       required by the function definition. 
 
        * xterm.h: ... here.
 
index f02aef0bc5ac46bfaf53a95a016ea891a95b8e41..5bd38550f679d0e4f3b393ed8cdfbf90e4bbcef6 100644 (file)
@@ -6750,13 +6750,13 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
                              && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0)
                            {
                              ignore_next_mouse_click_timeout = 0;
-                             construct_mouse_click (&inev.ie, &event, f);
+                             construct_mouse_click (&inev.ie, &event.xbutton, f);
                            }
                          if (event.type == ButtonRelease)
                            ignore_next_mouse_click_timeout = 0;
                        }
                      else
-                       construct_mouse_click (&inev.ie, &event, f);
+                       construct_mouse_click (&inev.ie, &event.xbutton, f);
                    }
                 }
           }