projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef82ec
)
*** empty log message ***
author
pcg
<pcg>
Tue, 30 Mar 2004 14:45:13 +0000
(14:45 +0000)
committer
pcg
<pcg>
Tue, 30 Mar 2004 14:45:13 +0000
(14:45 +0000)
src/rxvtcolor.C
patch
|
blob
|
history
src/rxvtcolor.h
patch
|
blob
|
history
diff --git
a/src/rxvtcolor.C
b/src/rxvtcolor.C
index
5dce834
..
05e3aff
100644
(file)
--- 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<rxvt_display>;
diff --git
a/src/rxvtcolor.h
b/src/rxvtcolor.h
index
7baa96e
..
47796d7
100644
(file)
--- 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<void> {