Commit bfd20325 authored by Jan Djärv's avatar Jan Djärv

(xg_frame_resized): Remove check if rows/columns have

changed.
(xg_tool_bar_proxy_callback): Put focus on the frame after we have
clicked on a detached tool bar button.
parent c478e4c5
......@@ -2,6 +2,8 @@
* gtkutil.c (xg_frame_resized): Remove check if rows/columns have
changed.
(xg_tool_bar_proxy_callback): Put focus on the frame after we have
clicked on a detached tool bar button.
2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
......
......@@ -3478,6 +3478,13 @@ xg_tool_bar_proxy_callback (w, client_data)
GtkWidget *wbutton = GTK_WIDGET (g_object_get_data (G_OBJECT (w),
XG_TOOL_BAR_PROXY_BUTTON));
xg_tool_bar_callback (wbutton, client_data);
FRAME_PTR f = (FRAME_PTR) g_object_get_data (G_OBJECT (wbutton),
XG_FRAME_DATA);
/* Put focus back to the frame after we have clicked on a detached
tool bar button. */
Lisp_Object frame;
XSETFRAME (frame, f);
Fx_focus_frame (frame);
}
/* This callback is called when a tool item should create a proxy item,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment