24 |
|
|
25 |
#include <config.h> |
#include <config.h> |
26 |
|
|
27 |
|
#ifdef HAVE_X_WINDOWS |
28 |
|
|
29 |
/* On 4.3 these lose if they come after xterm.h. */ |
/* On 4.3 these lose if they come after xterm.h. */ |
30 |
/* Putting these at the beginning seems to be standard for other .c files. */ |
/* Putting these at the beginning seems to be standard for other .c files. */ |
31 |
#include <signal.h> |
#include <signal.h> |
32 |
|
|
33 |
#include <stdio.h> |
#include <stdio.h> |
34 |
|
|
35 |
#ifdef HAVE_X_WINDOWS |
#ifdef BOEHM_GC |
36 |
|
#include <gc.h> |
37 |
|
#endif |
38 |
|
|
39 |
#include "lisp.h" |
#include "lisp.h" |
40 |
#include "blockinput.h" |
#include "blockinput.h" |
7110 |
|
|
7111 |
while (gtk_events_pending ()) |
while (gtk_events_pending ()) |
7112 |
{ |
{ |
|
static int nr = 0; |
|
7113 |
current_count = count; |
current_count = count; |
7114 |
current_numcharsp = &numchars; |
current_numcharsp = &numchars; |
7115 |
current_bufp = &bufp; |
current_bufp = &bufp; |
10244 |
dpyinfo->kboard = share->kboard; |
dpyinfo->kboard = share->kboard; |
10245 |
else |
else |
10246 |
{ |
{ |
10247 |
dpyinfo->kboard = (KBOARD *) xmalloc (sizeof (KBOARD)); |
dpyinfo->kboard = (KBOARD *) XGC_MALLOC (sizeof (KBOARD)); |
10248 |
init_kboard (dpyinfo->kboard); |
init_kboard (dpyinfo->kboard); |
10249 |
if (!EQ (XSYMBOL (Qvendor_specific_keysyms)->function, Qunbound)) |
if (!EQ (XSYMBOL (Qvendor_specific_keysyms)->function, Qunbound)) |
10250 |
{ |
{ |