From 37738c32aca5b6cf0811e957ced7e1d7385ef620 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Mon, 15 Nov 2021 21:11:26 +0900 Subject: [PATCH] Fix coding style * src/gtkutil.c (xg_set_no_accept_focus): * src/pgtkterm.c (pgtk_focus_frame): (button_event): --- src/gtkutil.c | 4 ++-- src/pgtkterm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtkutil.c b/src/gtkutil.c index 3e4d6e076ff..cb334747113 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -2000,8 +2000,8 @@ xg_set_no_accept_focus (struct frame *f, Lisp_Object no_accept_focus) #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 diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 978d4798d5f..0d258584c53 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -4707,7 +4707,7 @@ pgtk_focus_frame (struct frame *f, bool noactivate) if (dpyinfo->x_focus_frame != f && wid != NULL) { block_input (); - gtk_widget_grab_focus(wid); + gtk_widget_grab_focus (wid); unblock_input (); } } @@ -6460,7 +6460,7 @@ button_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data) 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))); -- 2.39.5