*** empty log message ***
authorpcg <pcg>
Tue, 30 Mar 2004 14:45:13 +0000 (14:45 +0000)
committerpcg <pcg>
Tue, 30 Mar 2004 14:45:13 +0000 (14:45 +0000)
src/rxvtcolor.C
src/rxvtcolor.h

index 5dce834..05e3aff 100644 (file)
@@ -274,6 +274,11 @@ void rxvt_display::put_xim (rxvt_xim *xim)
   xims.put (xim);
 }
 
+Atom rxvt_display::atom (const char *name)
+{
+  return XInternAtom (display, name, False);
+}
+
 /////////////////////////////////////////////////////////////////////////////
 
 template refcache<rxvt_display>;
index 7baa96e..47796d7 100644 (file)
@@ -96,6 +96,8 @@ struct rxvt_display : refcounted {
 
   rxvt_xim *get_xim (const char *locale, const char *modifiers);
   void put_xim (rxvt_xim *xim);
+
+  Atom atom (const char *name);
 };
 
 struct im_watcher : watcher, callback0<void> {