blob: e6fcbf7ce5f36fb6c17939050fd3dee1ab66d7aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
$NetBSD: patch-ag,v 1.1 2003/04/23 22:54:43 martin Exp $
--- src/event-xlike-inc.c.orig 2003-04-23 23:17:05.000000000 +0200
+++ src/event-xlike-inc.c 2003-04-23 23:39:47.000000000 +0200
@@ -22,12 +22,63 @@
/* 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
X-specific, whereas the following code isn't, in the GTK case. */
-static int
+int
#ifdef THIS_IS_GTK
emacs_gtk_event_pending_p (int how_many)
#else
|