summaryrefslogtreecommitdiff
path: root/src/globals.h
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/globals.h
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/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index e5ba32a..61081f4 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -124,13 +124,17 @@ extern Atom wm_delete;
extern Atom wm_take_focus;
extern Atom wm_colormaps;
+/* TEXT atoms */
+extern Atom xa_string;
+extern Atom xa_compound_text;
+extern Atom xa_utf8_string;
+
/* netwm atoms. */
extern Atom _net_wm_pid;
extern Atom _net_supported;
extern Atom _net_wm_window_type;
extern Atom _net_wm_window_type_dialog;
extern Atom _net_wm_name;
-extern Atom utf8_string;
/* mouse properties */
extern int rat_x;