ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.9 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.11 by root, Wed Jan 25 02:42:06 2006 UTC

15#include "rxvtlib.h" 15#include "rxvtlib.h"
16#include "rxvtutil.h" 16#include "rxvtutil.h"
17 17
18#include "callback.h" 18#include "callback.h"
19 19
20// see rxvttoolkit.C:xa_names, which must be kept in sync
21enum {
22 XA_TEXT,
23 XA_COMPOUND_TEXT,
24 XA_UTF8_STRING,
25 XA_MULTIPLE,
26 XA_TARGETS,
27 XA_TIMESTAMP,
28 XA_VT_SELECTION,
29 XA_INCR,
30 XA_WM_PROTOCOLS,
31 XA_WM_DELETE_WINDOW,
32 XA_CLIPBOARD,
33#if ENABLE_FRILLS
34 XA_MOTIF_WM_HINTS,
35#endif
36#if ENABLE_EWMH
37 XA_NET_WM_PID,
38 XA_NET_WM_NAME,
39 XA_NET_WM_ICON_NAME,
40 XA_NET_WM_PING,
41#endif
42#if USE_XIM
43 XA_WM_LOCALE_NAME,
44 XA_XIM_SERVERS,
45#endif
46#if TRANSPARENT
47 XA_XROOTPMAP_ID,
48 XA_ESETROOT_PMAP_ID,
49#endif
50#if ENABLE_XEMBED
51 XA_XEMBED,
52 XA_XEMBED_INFO,
53#endif
54 NUM_XA
55};
56
20struct rxvt_term; 57struct rxvt_term;
21struct rxvt_display; 58struct rxvt_display;
22 59
23struct im_watcher; 60struct im_watcher;
24struct xevent_watcher; 61struct xevent_watcher;
60 ~rxvt_xim (); 97 ~rxvt_xim ();
61}; 98};
62#endif 99#endif
63 100
64struct rxvt_display : refcounted { 101struct rxvt_display : refcounted {
65 Atom xa_xim_servers;
66
67 io_manager_vec<xevent_watcher> xw; 102 io_manager_vec<xevent_watcher> xw;
68 103
69 io_watcher x_ev; void x_cb (io_watcher &w, short revents); 104 io_watcher x_ev; void x_cb (io_watcher &w, short revents);
70 105
71#ifdef USE_XIM 106#ifdef USE_XIM
82 int screen; 117 int screen;
83 Visual *visual; 118 Visual *visual;
84 Colormap cmap; 119 Colormap cmap;
85 Window root; 120 Window root;
86 rxvt_term *selection_owner; 121 rxvt_term *selection_owner;
122 Atom xa[NUM_XA];
87#ifndef NO_SLOW_LINK_SUPPORT 123#ifndef NO_SLOW_LINK_SUPPORT
88 bool is_local; 124 bool is_local;
89#endif 125#endif
90#ifdef POINTER_BLANK 126#ifdef POINTER_BLANK
91 Cursor blank_cursor; 127 Cursor blank_cursor;
94 rxvt_display (const char *id); 130 rxvt_display (const char *id);
95 XrmDatabase get_resources (); 131 XrmDatabase get_resources ();
96 bool ref_init (); 132 bool ref_init ();
97 void ref_next (); 133 void ref_next ();
98 ~rxvt_display (); 134 ~rxvt_display ();
99
100 operator Display *() const { return display; }
101 135
102 void flush (); 136 void flush ();
103 Atom atom (const char *name); 137 Atom atom (const char *name);
104 void set_selection_owner (rxvt_term *owner); 138 void set_selection_owner (rxvt_term *owner);
105 139

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines