From b994b17709d11cf78b7e6991e17404f25ba8cf51 Mon Sep 17 00:00:00 2001 From: pcg Date: Tue, 30 Mar 2004 14:45:13 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvtcolor.C | 5 +++++ src/rxvtcolor.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/rxvtcolor.C b/src/rxvtcolor.C index 5dce8345..05e3aff2 100644 --- a/src/rxvtcolor.C +++ b/src/rxvtcolor.C @@ -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; diff --git a/src/rxvtcolor.h b/src/rxvtcolor.h index 7baa96ed..47796d7a 100644 --- a/src/rxvtcolor.h +++ b/src/rxvtcolor.h @@ -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 { -- 2.34.1