* xterm.h: Rename x_non_menubar_window_to_frame to
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 2 Sep 2009 17:03:20 +0000 (17:03 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 2 Sep 2009 17:03:20 +0000 (17:03 +0000)
commita54fa5b720201e4717d0177821b8defcdad3d916
tree4a7d1cdc14db3901249131831cb0685c40a665f2
parentccfa8d36e63ce4983b90013ed6dbe092d0ca50fa
* xterm.h: Rename x_non_menubar_window_to_frame to
x_menubar_window_to_frame

* xterm.c: Remove declarations also in xterm.h
(XTmouse_position): Do not return valid positions
for clicks in the menubar and the toolbar for Gtk+.

* xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
if the widget for the event has the same top level as a frame,
return the frame.
(x_menubar_window_to_frame): Detect menu bar even with Gtk+
internal windows, bug #4122.
(x_non_menubar_window_to_frame): Remove.
src/ChangeLog
src/xfns.c
src/xterm.c
src/xterm.h