0
|
1 /*
|
|
2 * $Id: chkfe.c,v 1.2 2001/06/14 18:16:10 ura Exp $
|
|
3 */
|
|
4
|
|
5 /*
|
|
6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
7 * This file is part of FreeWnn.
|
|
8 *
|
|
9 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
10 *
|
|
11 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
|
12 *
|
|
13 * This program is free software; you can redistribute it and/or modify
|
|
14 * it under the terms of the GNU General Public License as published by
|
|
15 * the Free Software Foundation; either version 2, or (at your option)
|
|
16 * any later version.
|
|
17 *
|
|
18 * This program is distributed in the hope that it will be useful,
|
|
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
21 * GNU General Public License for more details.
|
|
22 *
|
|
23 * You should have received a copy of the GNU General Public License
|
|
24 * along with GNU Emacs; see the file COPYING. If not, write to the
|
|
25 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
26 *
|
|
27 * Commentary:
|
|
28 *
|
|
29 * Change log:
|
|
30 *
|
|
31 * Last modified date: 8,Feb.1999
|
|
32 *
|
|
33 * Code:
|
|
34 *
|
|
35 */
|
|
36
|
|
37 /*
|
|
38 * X11R5 Input Method Test Program
|
|
39 * chkfe.c v 1.0 Fri Mar 8 09:13:21 JST 1991
|
|
40 */
|
|
41
|
|
42 /*
|
|
43 * Author: Takashi Inoue OMRON Corporation
|
|
44 * takashi@ari.ncl.omron.co.jp
|
|
45 */
|
|
46
|
|
47 #include "exvalue.h"
|
|
48 #include "func.h"
|
|
49
|
|
50 /* *INDENT-OFF* */
|
|
51 FLAG
|
|
52 fltev (event)
|
|
53 XEvent *event;
|
|
54 /* *INDENT-ON* */
|
|
55 {
|
|
56 Bool res;
|
|
57
|
|
58 /* prstatus("Calling XFilterEvent()..."); */
|
|
59 res = XFilterEvent (event, event->xany.window);
|
|
60 /* prstatus("done."); */
|
|
61 cls (prdisp);
|
|
62 if (res == False)
|
|
63 {
|
|
64 /* prprint("The result of XFilterEvent() is \"False\".\n"); */
|
|
65 fprintf (icfp, "The result of XFilterEvent() is \"False\".\n");
|
|
66 return (NG);
|
|
67 }
|
|
68 else
|
|
69 {
|
|
70 /* prprint("The result of XFilterEvent() is \"True\".\n"); */
|
|
71 fprintf (icfp, "The result of XFilterEvent() is \"True\".\n");
|
|
72 return (OK);
|
|
73 }
|
|
74 }
|