summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-02-06 19:28:33 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-02-06 21:17:47 +0100
commit3725c23fddd8e936a91296f74e3fd6342270d6bb (patch)
tree4aec8e8d58ad232918aea32863a75d36f976587e /src/screen.c
parent5c0abe47a800dca3faf97b7ec608d86fddab25b6 (diff)
downloadratpoison-3725c23fddd8e936a91296f74e3fd6342270d6bb.zip
make TEXT atoms global variables
* (events.c) extract xa_compound_text from selection_request(), make it a global * introduce xa_string (same as XA_STRING) and rename utf8_string to xa_utf8_string, for consistency
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index ab8bf95..d843c04 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -395,7 +395,7 @@ activate_screen (rp_screen *s)
/* set window manager name */
XChangeProperty (dpy, RootWindow (dpy, s->screen_num),
- _net_wm_name, utf8_string, 8, PropModeReplace,
+ _net_wm_name, xa_utf8_string, 8, PropModeReplace,
(unsigned char*)"ratpoison", 9);
XMapWindow (dpy, s->key_window);
}