comparison src/extw-Xlib.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 74fd4e045ea6
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 /* Copyright (C) 1993, 1994 Sun Microsystems, Inc.
2
3 This library is free software; you can redistribute it and/or
4 modify it under the terms of the GNU Library General Public
5 License as published by the Free Software Foundation; either
6 version 2 of the License, or (at your option) any later version.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public
14 License along with this library; if not, write to
15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 Boston, MA 02111-1307, USA. */
17
18 /* Synched up with: Not in FSF. */
19
20 #ifndef _EXTW_XLIB_H_
21 #define _EXTW_XLIB_H_
22
23 #define extw_shell_send 0
24 #define extw_client_send 1
25
26 typedef enum {
27 extw_notify_init,
28 extw_notify_end,
29 extw_notify_qg,
30 extw_notify_gm,
31 extw_notify_set_focus,
32 extw_notify_focus_in,
33 extw_notify_focus_out
34 } en_extw_notify;
35
36 extern Atom a_EXTW_QUERY_GEOMETRY, a_EXTW_GEOMETRY_MANAGER,
37 a_EXTW_WIDGET_GEOMETRY, a_EXTW_NOTIFY;
38 extern int extw_which_side;
39
40 typedef enum {
41 EXTW_TYPE_NONE,
42 EXTW_TYPE_XLIB,
43 EXTW_TYPE_XT,
44 EXTW_TYPE_MOTIF
45 } en_extw_type;
46
47 void extw_initialize_atoms(Display *display);
48 void extw_send_notify_3(Display *display, Window win, en_extw_notify type,
49 long data0, long data1, long data2);
50
51 #endif /* _EXTW_XLIB_H_ */