]> code.delx.au - gnu-emacs/blobdiff - src/xsettings.c
Simplify and avoid signal-handling races.
[gnu-emacs] / src / xsettings.c
index 58c844954895bcee8e577e362e31740698e5bac8..7c68ff295cfa4507472550e0ae48ea7d57cbb23a 100644 (file)
@@ -929,7 +929,7 @@ init_xsettings (struct x_display_info *dpyinfo)
 {
   Display *dpy = dpyinfo->display;
 
-  BLOCK_INPUT;
+  block_input ();
 
   /* Select events so we can detect client messages sent when selection
      owner changes.  */
@@ -939,7 +939,7 @@ init_xsettings (struct x_display_info *dpyinfo)
   if (dpyinfo->xsettings_window != None)
     read_and_apply_settings (dpyinfo, False);
 
-  UNBLOCK_INPUT;
+  unblock_input ();
 }
 
 void