diff src/xterm.c @ 65716:b7f757757288

(handle_one_xevent): Refer to union field to match the type required by the function definition.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 27 Sep 2005 21:14:23 +0000
parents ad24f42046b1
children 375ab086d366 b1c1fc853d2f
line wrap: on
line diff
--- a/src/xterm.c	Tue Sep 27 20:18:49 2005 +0000
+++ b/src/xterm.c	Tue Sep 27 21:14:23 2005 +0000
@@ -6750,13 +6750,13 @@
 			      && (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);
 		    }
                 }
           }