Merge branch 'merges'
[sxemacs] / src / ui / X11 / extw-Xlib.h
1 /* Copyright (C) 1993, 1994 Sun Microsystems, Inc.
2
3 This file is part of SXEmacs
4
5 SXEmacs is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 SXEmacs is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>. */
17
18
19 /* Synched up with: Not in FSF. */
20
21 #ifndef INCLUDED_extw_Xlib_h_
22 #define INCLUDED_extw_Xlib_h_
23
24 #define extw_shell_send 0
25 #define extw_client_send 1
26
27 typedef enum {
28         extw_notify_init,
29         extw_notify_end,
30         extw_notify_qg,
31         extw_notify_gm,
32         extw_notify_set_focus,
33         extw_notify_focus_in,
34         extw_notify_focus_out
35 } en_extw_notify;
36
37 extern Atom a_EXTW_QUERY_GEOMETRY, a_EXTW_GEOMETRY_MANAGER,
38     a_EXTW_WIDGET_GEOMETRY, a_EXTW_NOTIFY;
39 extern int extw_which_side;
40
41 typedef enum {
42         EXTW_TYPE_NONE,
43         EXTW_TYPE_XLIB,
44         EXTW_TYPE_XT,
45         EXTW_TYPE_MOTIF
46 } en_extw_type;
47
48 void extw_initialize_atoms(Display * display);
49 void extw_send_notify_3(Display * display, Window win, en_extw_notify type,
50                         long data0, long data1, long data2);
51
52 #endif                          /* INCLUDED_extw_Xlib_h_ */