Mercurial > emacs
comparison src/xterm.c @ 109445:051595eb9b58
Merge changes from emacs-23 branch.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 16 Jul 2010 11:42:15 -0400 |
parents | 0ed7d8444705 60266cf487b0 |
children | 05e7e7c46ff0 |
comparison
equal
deleted
inserted
replaced
109443:9e514d1076b4 | 109445:051595eb9b58 |
---|---|
6741 only motion after the ButtonPress/Release. */ | 6741 only motion after the ButtonPress/Release. */ |
6742 if (f != 0) | 6742 if (f != 0) |
6743 f->mouse_moved = 0; | 6743 f->mouse_moved = 0; |
6744 | 6744 |
6745 #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | 6745 #if defined (USE_X_TOOLKIT) || defined (USE_GTK) |
6746 f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window); | 6746 f = x_menubar_window_to_frame (dpyinfo, &event); |
6747 /* For a down-event in the menu bar, | 6747 /* For a down-event in the menu bar, |
6748 don't pass it to Xt right now. | 6748 don't pass it to Xt right now. |
6749 Instead, save it away | 6749 Instead, save it away |
6750 and we will pass it to Xt from kbd_buffer_get_event. | 6750 and we will pass it to Xt from kbd_buffer_get_event. |
6751 That way, we can run some Lisp code first. */ | 6751 That way, we can run some Lisp code first. */ |