From: pcg Date: Tue, 30 Mar 2004 14:45:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b994b17709d11cf78b7e6991e17404f25ba8cf51;p=dana%2Furxvt.git *** empty log message *** --- 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 {