]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix some portability bugs in gtkutil.c
authorPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 00:51:35 +0000 (08:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 00:51:35 +0000 (08:51 +0800)
* src/gtkutil.c (xg_widget_key_press_event_cb): Surround raising
SIGIO with USABLE_SIGIO.

src/gtkutil.c

index ff5c0f27510bb66a0f42b91eb56f1569c63f5365..c62bd898fb5b0fde3ff3959492eef04e42a7ff33 100644 (file)
@@ -6251,7 +6251,9 @@ xg_widget_key_press_event_cb (GtkWidget *widget, GdkEvent *event,
       kbd_buffer_store_buffered_event (&inev, &xg_pending_quit_event);
     }
 
+#ifdef USABLE_SIGIO
   raise (SIGIO);
+#endif
   return true;
 }