From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: recent emacs input crashes (X/GTK related) Date: 15 Apr 2004 15:51:31 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1082012312 17987 80.91.224.253 (15 Apr 2004 06:58:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Apr 2004 06:58:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 15 08:58:23 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BE0pL-0000Vc-00 for ; Thu, 15 Apr 2004 08:58:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BE0pK-00070G-00 for ; Thu, 15 Apr 2004 08:58:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BE0kY-00018q-1V for emacs-devel@quimby.gnus.org; Thu, 15 Apr 2004 02:53:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BE0jN-00016R-Ob for emacs-devel@gnu.org; Thu, 15 Apr 2004 02:52:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BE0io-0000tp-TG for emacs-devel@gnu.org; Thu, 15 Apr 2004 02:52:10 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BE0in-0000sN-MT; Thu, 15 Apr 2004 02:51:37 -0400 Original-Received: from mailgate3.nec.co.jp (mailgate99.nec.co.jp [10.7.69.186]) by TYO201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i3F6pZh01071; Thu, 15 Apr 2004 15:51:35 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i3F6pY904751; Thu, 15 Apr 2004 15:51:34 +0900 (JST) Original-Received: from edtmg04.lsi.nec.co.jp ([10.26.17.201]) by mailsv5.nec.co.jp (8.11.7/3.7W-MAILSV4-NEC) with ESMTP id i3F6pX511758; Thu, 15 Apr 2004 15:51:33 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg04.lsi.nec.co.jp (8.12.10/8.12.10) with ESMTP id i3F6pW7q007883; Thu, 15 Apr 2004 15:51:33 +0900 (JST) Original-Received: from mcspd15 (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i3F6pWnX024577; Thu, 15 Apr 2004 15:51:32 +0900 (JST) Original-Received: by mcspd15 (Postfix, from userid 31295) id 183A629; Thu, 15 Apr 2004 15:51:32 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21668 Quite recently (only within the last few days?) I've very frequently seen emacs crash like the following: 1) create a new window with C-x 5 2 2) switch to the new window 3) try to give some emacs command in it -- and notice it doesn't respond 4) switching back to the old window allows you to enter commands just like normal, it's just the new window that ignores all inputs 5) deleting the new window will usually then make emacs crash shortly (I usually make a new new window after that, but I'm not sure if it's necessary) 6) sometimes it crashes directly at step 3 Here's a backtrace from point 5: Current directory is /usr/local/ GNU gdb 6.1-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you= are welcome to change it and/or distribute copies of it under certain condit= ions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detai= ls. This GDB was configured as "i386-linux"...Using host libthread_db librar= y "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/emacs=20 Program received signal SIGSEGV, Segmentation fault. 0x40bdd110 in _XimCbDispatch () from /usr/X11R6/lib/X11/locale/lib/commo= n/ximcp.so.2 (gdb) ba #0 0x40bdd110 in _XimCbDispatch () from /usr/X11R6/lib/X11/locale/lib/c= ommon/ximcp.so.2 #1 0x40bdd2b2 in _XimCbDispatch () from /usr/X11R6/lib/X11/locale/lib/c= ommon/ximcp.so.2 #2 0x40596ce5 in XFilterEvent () from /usr/X11R6/lib/libX11.so.6 #3 0x080fc144 in event_handler_gdk (gxev=3D0xbfffccb4, ev=3D0x86a46c8, = data=3D0x0) at /usr/local/src/emacs/miles/src/xterm.c:5749 #4 0x4032fd68 in gdk_event_get_graphics_expose () from /usr/lib/libgdk-= x11-2.0.so.0 #5 0x4033072b in gdk_x11_register_standard_event_type () from /usr/lib/= libgdk-x11-2.0.so.0 #6 0x40331dcd in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #7 0x40331f61 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #8 0x4046004a in g_main_depth () from /usr/lib/libglib-2.0.so.0 #9 0x40461128 in g_main_context_dispatch () from /usr/lib/libglib-2.0.s= o.0 #10 0x40461460 in g_main_context_dispatch () from /usr/lib/libglib-2.0.s= o.0 #11 0x404616cd in g_main_context_iteration () from /usr/lib/libglib-2.0.= so.0 #12 0x401379d5 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x080fd98c in XTread_socket (sd=3D0, expected=3D1, hold_quit=3D0xbff= fdf74) at /usr/local/src/emacs/miles/src/xterm.c:7148 #14 0x0812e265 in read_avail_input (expected=3D1) at /usr/local/src/emac= s/miles/src/keyboard.c:6625 #15 0x0812e44c in handle_async_input () at /usr/local/src/emacs/miles/sr= c/keyboard.c:6767 #16 0x0812e491 in input_available_signal (signo=3D29) at /usr/local/src/= emacs/miles/src/keyboard.c:6806 #17 #18 0x40721758 in select () from /lib/tls/libc.so.6 #19 0x081bbb1b in wait_reading_process_input (time_limit=3D0, microsecs= =3D0, read_kbd=3D536870911, do_display=3D1) at /usr/local/src/emacs/miles/s= rc/process.c:4319 #20 0x0812af53 in kbd_buffer_get_event (kbp=3D0xbfffe5ac, used_mouse_men= u=3D0xbfffe7c8) at /usr/local/src/emacs/miles/src/keyboard.c:3846 #21 0x081297be in read_char (commandflag=3D1, nmaps=3D2, maps=3D0xbfffe7= 8c, prev_event=3D675385360, used_mouse_menu=3D0xbfffe7c8) at /usr/local/src= /emacs/miles/src/keyboard.c:2787 #22 0x08130a87 in read_key_sequence (keybuf=3D0xbfffe8f0, bufsize=3D30, = prompt=3D675385360, dont_downcase_last=3D0, can_return_switch_frame=3D1, fi= x_current_buffer=3D1) at /usr/local/src/emacs/miles/src/keyboard.c:8770 #23 0x08126e33 in command_loop_1 () at /usr/local/src/emacs/miles/src/ke= yboard.c:1476 #24 0x08186d8e in internal_condition_case (bfun=3D0x8126c90 , handlers=3D675445256, hfun=3D0x81267e0 ) at /usr/local/src= /emacs/miles/src/eval.c:1406 #25 0x08126b3e in command_loop_2 () at /usr/local/src/emacs/miles/src/ke= yboard.c:1264 #26 0x081868eb in internal_catch (tag=3D1, func=3D0x8126b10 , arg=3D675385360) at /usr/local/src/emacs/miles/src/eval.c:1167 #27 0x08126ade in command_loop () at /usr/local/src/emacs/miles/src/keyb= oard.c:1243 #28 0x08126574 in recursive_edit_1 () at /usr/local/src/emacs/miles/src/= keyboard.c:959 #29 0x081266a1 in Frecursive_edit () at /usr/local/src/emacs/miles/src/k= eyboard.c:1015 #30 0x08124d80 in main (argc=3D1, argv=3D0xbfffefa4) at /usr/local/src/e= macs/miles/src/emacs.c:1692 (gdb) up #1 0x40bdd2b2 in _XimCbDispatch () from /usr/X11R6/lib/X11/locale/lib/c= ommon/ximcp.so.2 (gdb)=20 #2 0x40596ce5 in XFilterEvent () from /usr/X11R6/lib/libX11.so.6 (gdb)=20 #3 0x080fc144 in event_handler_gdk (gxev=3D0xbfffccb4, ev=3D0x86a46c8, = data=3D0x0) at /usr/local/src/emacs/miles/src/xterm.c:5749 (gdb) li 5744 #ifdef HAVE_X_I18N 5745 /* Filter events for the current X input method. 5746 GTK calls XFilterEvent but not for key press and release, 5747 so we do it here. */ 5748 if (xev->type =3D=3D KeyPress || xev->type =3D=3D KeyRelease) 5749 if (dpyinfo && x_filter_event (dpyinfo, xev)) 5750 return GDK_FILTER_REMOVE; 5751 #endif 5752=09 5753 if (! dpyinfo) (gdb) p xev No symbol "xev" in current context. (gdb) p gxev $1 =3D (GdkXEvent *) 0xbfffccb4 (gdb) p *(XEvent *)gxev $2 =3D {type =3D 2, xany =3D {type =3D 2, serial =3D 7447, send_event = =3D 0,=20 display =3D 0x8671590, window =3D 33554901}, xkey =3D {type =3D 2, s= erial =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, window =3D 33554901, root = =3D 59,=20 subwindow =3D 0, time =3D 20910668, x =3D 213, y =3D 161, x_root =3D= 224,=20 y_root =3D 301, state =3D 0, keycode =3D 37, same_screen =3D 1}, xbu= tton =3D { type =3D 2, serial =3D 7447, send_event =3D 0, display =3D 0x8671590= ,=20 window =3D 33554901, root =3D 59, subwindow =3D 0, time =3D 20910668= , x =3D 213,=20 y =3D 161, x_root =3D 224, y_root =3D 301, state =3D 0, button =3D 3= 7,=20 same_screen =3D 1}, xmotion =3D {type =3D 2, serial =3D 7447, send_e= vent =3D 0,=20 display =3D 0x8671590, window =3D 33554901, root =3D 59, subwindow = =3D 0,=20 time =3D 20910668, x =3D 213, y =3D 161, x_root =3D 224, y_root =3D = 301, state =3D 0,=20 is_hint =3D 37 '%', same_screen =3D 1}, xcrossing =3D {type =3D 2, s= erial =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, window =3D 33554901, root = =3D 59,=20 subwindow =3D 0, time =3D 20910668, x =3D 213, y =3D 161, x_root =3D= 224,=20 y_root =3D 301, mode =3D 0, detail =3D 37, same_screen =3D 1, focus = =3D 33554685,=20 state =3D 4294967295}, xfocus =3D {type =3D 2, serial =3D 7447, send= _event =3D 0,=20 display =3D 0x8671590, window =3D 33554901, mode =3D 59, detail =3D = 0},=20 xexpose =3D {type =3D 2, serial =3D 7447, send_event =3D 0, display = =3D 0x8671590,=20 window =3D 33554901, x =3D 59, y =3D 0, width =3D 20910668, height = =3D 213,=20 count =3D 161}, xgraphicsexpose =3D {type =3D 2, serial =3D 7447, se= nd_event =3D 0,=20 display =3D 0x8671590, drawable =3D 33554901, x =3D 59, y =3D 0,=20 width =3D 20910668, height =3D 213, count =3D 161, major_code =3D 22= 4,=20 minor_code =3D 301}, xnoexpose =3D {type =3D 2, serial =3D 7447, sen= d_event =3D 0,=20 display =3D 0x8671590, drawable =3D 33554901, major_code =3D 59,=20 minor_code =3D 0}, xvisibility =3D {type =3D 2, serial =3D 7447, sen= d_event =3D 0,=20 display =3D 0x8671590, window =3D 33554901, state =3D 59}, xcreatewi= ndow =3D { type =3D 2, serial =3D 7447, send_event =3D 0, display =3D 0x8671590= ,=20 parent =3D 33554901, window =3D 59, x =3D 0, y =3D 20910668, width = =3D 213,=20 height =3D 161, border_width =3D 224, override_redirect =3D 301},=20 xdestroywindow =3D {type =3D 2, serial =3D 7447, send_event =3D 0,=20 display =3D 0x8671590, event =3D 33554901, window =3D 59}, xunmap = =3D {type =3D 2,=20 serial =3D 7447, send_event =3D 0, display =3D 0x8671590, event =3D = 33554901,=20 window =3D 59, from_configure =3D 0}, xmap =3D {type =3D 2, serial = =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, event =3D 33554901, window = =3D 59,=20 override_redirect =3D 0}, xmaprequest =3D {type =3D 2, serial =3D 74= 47,=20 send_event =3D 0, display =3D 0x8671590, parent =3D 33554901, window= =3D 59},=20 xreparent =3D {type =3D 2, serial =3D 7447, send_event =3D 0, display = =3D 0x8671590,=20 event =3D 33554901, window =3D 59, parent =3D 0, x =3D 20910668, y = =3D 213,=20 override_redirect =3D 161}, xconfigure =3D {type =3D 2, serial =3D 7= 447,=20 send_event =3D 0, display =3D 0x8671590, event =3D 33554901, window = =3D 59,=20 x =3D 0, y =3D 20910668, width =3D 213, height =3D 161, border_width= =3D 224,=20 above =3D 301, override_redirect =3D 0}, xgravity =3D {type =3D 2, s= erial =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, event =3D 33554901, window = =3D 59,=20 x =3D 0, y =3D 20910668}, xresizerequest =3D {type =3D 2, serial =3D= 7447,=20 send_event =3D 0, display =3D 0x8671590, window =3D 33554901, width = =3D 59,=20 height =3D 0}, xconfigurerequest =3D {type =3D 2, serial =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, parent =3D 33554901, window= =3D 59,=20 x =3D 0, y =3D 20910668, width =3D 213, height =3D 161, border_width= =3D 224,=20 above =3D 301, detail =3D 0, value_mask =3D 37}, xcirculate =3D {typ= e =3D 2,=20 serial =3D 7447, send_event =3D 0, display =3D 0x8671590, event =3D = 33554901,=20 window =3D 59, place =3D 0}, xcirculaterequest =3D {type =3D 2, seri= al =3D 7447,=20 send_event =3D 0, display =3D 0x8671590, parent =3D 33554901, window= =3D 59,=20 place =3D 0}, xproperty =3D {type =3D 2, serial =3D 7447, send_event= =3D 0,=20 display =3D 0x8671590, window =3D 33554901, atom =3D 59, time =3D 0,= =20 state =3D 20910668}, xselectionclear =3D {type =3D 2, serial =3D 744= 7,=20 send_event =3D 0, display =3D 0x8671590, window =3D 33554901, select= ion =3D 59,=20 time =3D 0}, xselectionrequest =3D {type =3D 2, serial =3D 7447, sen= d_event =3D 0,=20 display =3D 0x8671590, owner =3D 33554901, requestor =3D 59, selecti= on =3D 0,=20 target =3D 20910668, property =3D 213, time =3D 161}, xselection =3D= {type =3D 2,=20 serial =3D 7447, send_event =3D 0, display =3D 0x8671590, requestor = =3D 33554901,=20 selection =3D 59, target =3D 0, property =3D 20910668, time =3D 213}= ,=20 xcolormap =3D {type =3D 2, serial =3D 7447, send_event =3D 0, display = =3D 0x8671590,=20 window =3D 33554901, colormap =3D 59, new =3D 0, state =3D 20910668}= , xclient =3D { type =3D 2, serial =3D 7447, send_event =3D 0, display =3D 0x8671590= ,=20 window =3D 33554901, message_type =3D 59, format =3D 0, data =3D { b =3D "L\022?\001=D5\000\000\000=A1\000\000\000=E0\000\000\000-\00= 1\000", s =3D { 4684, 319, 213, 0, 161, 0, 224, 0, 301, 0}, l =3D {20910668, 213= , 161,=20 224, 301}}}, xmapping =3D {type =3D 2, serial =3D 7447, send_eve= nt =3D 0,=20 display =3D 0x8671590, window =3D 33554901, request =3D 59, first_ke= ycode =3D 0,=20 count =3D 20910668}, xerror =3D {type =3D 2, display =3D 0x1d17, res= ourceid =3D 0,=20 serial =3D 140973456, error_code =3D 213 '=D5', request_code =3D 1 '= \001',=20 minor_code =3D 0 '\0'}, xkeymap =3D {type =3D 2, serial =3D 7447, se= nd_event =3D 0,=20 display =3D 0x8671590, window =3D 33554901,=20 key_vector =3D ";\000\000\000\000\000\000\000L\022?\001=D5\000\000\0= 00=A1\000\000\000=E0\000\000\000-\001\000\000\000\000\000"}, pad =3D {2, 74= 47, 0, 140973456,=20 33554901, 59, 0, 20910668, 213, 161, 224, 301, 0, 37, 1, 33554685, -= 1,=20 -12, -141, 33554454, 0, 0, 0, 0}} (gdb) p *dpyinfo $3 =3D {next =3D 0x0, connection =3D 7, display =3D 0x8671590,=20 name_list_element =3D -1470323280, reference_count =3D 2, screen =3D 0= x86725a8,=20 resx =3D 95.064327485380105, resy =3D 95.976383763837632, visual =3D 0= x8672658,=20 cmap =3D 32, n_planes =3D 24, height =3D 1024, width =3D 1280, grabbed= =3D 0,=20 icon_bitmap_id =3D -1, root_window =3D 59, client_leader_window =3D 0,= =20 vertical_scroll_bar_cursor =3D 33554443, xg_cursor =3D 0x8685398,=20 xrdb =3D 0x86853b0, font_table =3D 0x86b0400, font_table_size =3D 16,= =20 smallest_char_width =3D 10, smallest_font_height =3D 16,=20 scratch_cursor_gc =3D 0x0, mouse_face_beg_row =3D -1, mouse_face_beg_c= ol =3D -1,=20 mouse_face_beg_x =3D 0, mouse_face_beg_y =3D 0, mouse_face_end_row =3D= -1,=20 mouse_face_end_col =3D -1, mouse_face_end_x =3D 0, mouse_face_end_y = =3D 0,=20 mouse_face_past_end =3D 0, mouse_face_window =3D 675385360,=20 mouse_face_face_id =3D 0, mouse_face_overlay =3D 675385360,=20 mouse_face_deferred_gc =3D 0, mouse_face_mouse_frame =3D 0x89b0148,=20 mouse_face_mouse_x =3D 212, mouse_face_mouse_y =3D 160, mouse_face_def= er =3D 0,=20 mouse_face_hidden =3D 0, mouse_face_image_state =3D 0,=20 x_id_name =3D 0x8697c80 "emacs@mcspd15.ucom.lsi.nec.co.jp", n_fonts = =3D 4,=20 bitmaps =3D 0x0, bitmaps_size =3D 0, bitmaps_last =3D 0, meta_mod_mask= =3D 8,=20 shift_lock_mask =3D 0, alt_mod_mask =3D 0, super_mod_mask =3D 64,=20 hyper_mod_mask =3D 0, Xatom_wm_protocols =3D 223, Xatom_wm_take_focus = =3D 221,=20 Xatom_wm_save_yourself =3D 275, Xatom_wm_delete_window =3D 220,=20 Xatom_wm_change_state =3D 281, Xatom_wm_configure_denied =3D 449,=20 Xatom_wm_window_moved =3D 450, Xatom_wm_client_leader =3D 226,=20 Xatom_editres =3D 451, Xatom_CLIPBOARD =3D 452, Xatom_TIMESTAMP =3D 31= 1,=20 Xatom_TEXT =3D 453, Xatom_DELETE =3D 454, Xatom_COMPOUND_TEXT =3D 241,= =20 Xatom_UTF8_STRING =3D 217, Xatom_MULTIPLE =3D 310, Xatom_INCR =3D 402,= =20 Xatom_EMACS_TMP =3D 455, Xatom_TARGETS =3D 309, Xatom_NULL =3D 456,=20 Xatom_ATOM_PAIR =3D 313, Xatom_PIXEL_SIZE =3D 183,=20 Xatom_MULE_BASELINE_OFFSET =3D 457, Xatom_MULE_RELATIVE_COMPOSE =3D 45= 8,=20 Xatom_MULE_DEFAULT_ASCENT =3D 459, Xatom_DONE =3D 461, Xatom_PAGE =3D = 460,=20 Xatom_Scrollbar =3D 462, kboard =3D 0x8682bb0, cut_buffers_initialized= =3D 0,=20 x_focus_frame =3D 0x89b0148, x_focus_event_frame =3D 0x89b0148,=20 x_highlight_frame =3D 0x89b0148, null_pixel =3D 33554444, gray =3D 335= 54446,=20 image_cache =3D 0x86853e8, xim =3D 0x869b288, xim_styles =3D 0x869b4b8= ,=20 color_cells =3D 0x0, ncolor_cells =3D 0, red_bits =3D 8, blue_bits =3D= 8,=20 green_bits =3D 8, red_offset =3D 16, blue_offset =3D 0, green_offset = =3D 8,=20 wm_type =3D X_WMTYPE_UNKNOWN} (gdb) down #2 0x40596ce5 in XFilterEvent () from /usr/X11R6/lib/libX11.so.6 (gdb) p current_finish $4 =3D 0 (gdb) p current_hold_quit $5 =3D (struct input_event *) 0xbfffdf74 (gdb) p *current_hold_quit $6 =3D {kind =3D NO_EVENT, code =3D 0, part =3D scroll_bar_above_handle,= =20 modifiers =3D 0, x =3D 0, y =3D 0, timestamp =3D 0, padding =3D {0x0, = 0x0},=20 frame_or_window =3D 0, arg =3D 0} (gdb) p current_count $7 =3D 0 (gdb) down #1 0x40bdd2b2 in _XimCbDispatch () from /usr/X11R6/lib/X11/locale/lib/c= ommon/ximcp.so.2 (gdb) up #2 0x40596ce5 in XFilterEvent () from /usr/X11R6/lib/libX11.so.6 (gdb)=20 #3 0x080fc144 in event_handler_gdk (gxev=3D0xbfffccb4, ev=3D0x86a46c8, = data=3D0x0) at /usr/local/src/emacs/miles/src/xterm.c:5749 (gdb) list x_filter_event 5704 #ifdef HAVE_X_I18N 5705 static int 5706 x_filter_event (dpyinfo, event) 5707 struct x_display_info *dpyinfo; 5708 XEvent *event; 5709 { 5710 /* XFilterEvent returns non-zero if the input method has 5711 consumed the event. We pass the frame's X window to 5712 XFilterEvent because that's the one for which the IC 5713 was created. */ (gdb)=20 5714=09 5715 struct frame *f1 =3D x_any_window_to_frame (dpyinfo, 5716 event->xclient.window); 5717=09 5718 return XFilterEvent (event, f1 ? FRAME_X_WINDOW (f1) : None); 5719 } 5720 #endif 5721=09 5722 #ifdef USE_GTK 5723 static int current_count; (gdb) p ((XEvent *)gxev)->xclient.window $8 =3D 33554901 -miles --=20 We have met the enemy, and he is us. -- Pogo