Mercurial > hg > xemacs-beta
comparison src/event-gtk.c @ 809:285f13b079f3
[xemacs-hg @ 2002-04-07 16:01:30 by wmperry]
Make GTK compile again because of lack of device.h/window.h includes.
author | wmperry |
---|---|
date | Sun, 07 Apr 2002 16:01:32 +0000 |
parents | a5954632b187 |
children | 6728e641994e |
comparison
equal
deleted
inserted
replaced
808:aa9a0cd78930 | 809:285f13b079f3 |
---|---|
39 #include "frame.h" | 39 #include "frame.h" |
40 #include "objects-gtk.h" | 40 #include "objects-gtk.h" |
41 #include "process.h" | 41 #include "process.h" |
42 #include "redisplay.h" | 42 #include "redisplay.h" |
43 #include "elhash.h" | 43 #include "elhash.h" |
44 #include "window.h" | |
45 #include "device.h" | |
44 | 46 |
45 #include "gtk-xemacs.h" | 47 #include "gtk-xemacs.h" |
46 | 48 |
47 #include "systime.h" | 49 #include "systime.h" |
48 #include "sysproc.h" /* for MAXDESC */ | 50 #include "sysproc.h" /* for MAXDESC */ |
190 } | 192 } |
191 | 193 |
192 static void | 194 static void |
193 handle_client_message (struct frame *f, GdkEvent *event) | 195 handle_client_message (struct frame *f, GdkEvent *event) |
194 { | 196 { |
195 Lisp_Object frame = wrap_frame (f); | |
196 | |
197 | |
198 /* The event-Xt code used to handle WM_DELETE_WINDOW here, but we | 197 /* The event-Xt code used to handle WM_DELETE_WINDOW here, but we |
199 handle that directly in frame-gtk.c */ | 198 handle that directly in frame-gtk.c */ |
200 | 199 |
201 if (event->client.message_type == gdk_atom_intern ("WM_PROTOCOLS", 0) && | 200 if (event->client.message_type == gdk_atom_intern ("WM_PROTOCOLS", 0) && |
202 (GdkAtom) event->client.data.l[0] == gdk_atom_intern ("WM_TAKE_FOCUS", 0)) | 201 (GdkAtom) event->client.data.l[0] == gdk_atom_intern ("WM_TAKE_FOCUS", 0)) |