a1fbef7957
This fixes PR 34197.
72 lines
1.8 KiB
Text
72 lines
1.8 KiB
Text
$NetBSD: patch-ag,v 1.2 2006/09/04 09:20:51 martin Exp $
|
|
|
|
--- src/event-xlike-inc.c.orig 2005-06-26 20:05:04.000000000 +0200
|
|
+++ src/event-xlike-inc.c 2006-08-30 17:59:31.000000000 +0200
|
|
@@ -22,6 +22,58 @@
|
|
|
|
/* Synched up with: Not in FSF. */
|
|
|
|
+#include <config.h>
|
|
+#include "lisp.h"
|
|
+
|
|
+#include "blocktype.h"
|
|
+#include "charset.h"
|
|
+#include "console-x.h"
|
|
+#include "device-impl.h"
|
|
+#include "elhash.h"
|
|
+#include "events.h"
|
|
+#include "file-coding.h"
|
|
+#include "frame-impl.h"
|
|
+#include "glyphs.h"
|
|
+#include "lstream.h"
|
|
+#include "process.h"
|
|
+#include "redisplay.h"
|
|
+#include "window.h"
|
|
+
|
|
+#include "console-tty.h"
|
|
+
|
|
+#include "console-x-impl.h"
|
|
+#include "objects-x.h"
|
|
+#include "../lwlib/lwlib.h"
|
|
+#include "EmacsFrame.h"
|
|
+
|
|
+#include "sysproc.h" /* for MAXDESC */
|
|
+#include "systime.h"
|
|
+
|
|
+#include "xintrinsicp.h" /* CoreP.h needs this */
|
|
+#include <X11/CoreP.h> /* Numerous places access the fields of
|
|
+ a core widget directly. We could
|
|
+ use XtGetValues(), but ... */
|
|
+#include <X11/ShellP.h>
|
|
+
|
|
+#if defined (HAVE_XIM) && defined (XIM_MOTIF)
|
|
+#include <Xm/Xm.h>
|
|
+#endif
|
|
+
|
|
+#ifdef HAVE_DRAGNDROP
|
|
+#include "dragdrop.h"
|
|
+#endif
|
|
+
|
|
+#if defined (HAVE_OFFIX_DND)
|
|
+#include "offix.h"
|
|
+#endif
|
|
+
|
|
+/* Mask of bits indicating the descriptors that we wait for input on */
|
|
+extern SELECT_TYPE input_wait_mask, non_fake_input_wait_mask;
|
|
+extern SELECT_TYPE process_only_mask, tty_only_mask;
|
|
+
|
|
+static int last_quit_check_signal_tick_count;
|
|
+
|
|
+
|
|
/* For some code it's reasonable to have only one copy and conditionalize
|
|
at run-time. For other code it isn't. #### Perhaps all code should be
|
|
included here, not in event-xlike.c. However, event-xlike.c is always
|
|
@@ -29,7 +81,7 @@
|
|
|
|
EXFUN (Funicode_to_char, 2); /* In unicode.c. */
|
|
|
|
-static int
|
|
+int
|
|
#ifdef THIS_IS_GTK
|
|
emacs_gtk_event_pending_p (int how_many)
|
|
#else
|