* src/gtkutil.c (xg_set_no_accept_focus):
* src/pgtkterm.c (pgtk_focus_frame):
(button_event):
#ifdef HAVE_PGTK
if (!FRAME_GTK_OUTER_WIDGET (f))
{
- if (FRAME_WIDGET(f))
- gtk_widget_set_can_focus (FRAME_WIDGET(f), g_no_accept_focus);
+ if (FRAME_WIDGET (f))
+ gtk_widget_set_can_focus (FRAME_WIDGET (f), g_no_accept_focus);
return;
}
#endif
if (dpyinfo->x_focus_frame != f && wid != NULL)
{
block_input ();
- gtk_widget_grab_focus(wid);
+ gtk_widget_grab_focus (wid);
unblock_input ();
}
}
if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf)))
{
block_input ();
- gtk_widget_grab_focus(FRAME_GTK_WIDGET(f));
+ gtk_widget_grab_focus (FRAME_GTK_WIDGET (f));
if (FRAME_GTK_OUTER_WIDGET (f))
{
gtk_window_present (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)));