]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix coding style
authorYuuki Harano <masm+github@masm11.me>
Mon, 15 Nov 2021 12:11:26 +0000 (21:11 +0900)
committerYuuki Harano <masm+github@masm11.me>
Mon, 15 Nov 2021 12:11:26 +0000 (21:11 +0900)
* src/gtkutil.c (xg_set_no_accept_focus):
* src/pgtkterm.c (pgtk_focus_frame):
(button_event):

src/gtkutil.c
src/pgtkterm.c

index 3e4d6e076ffd0d94ce212e8cbba02d3e82e15895..cb3347471135a5599148b7bd44360afe0d72f493 100644 (file)
@@ -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
index 978d4798d5feb7e5cd10b0346299cef139ff3abb..0d258584c536ed5217bde0cc2c7e5d363c583bb6 100644 (file)
@@ -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)));