summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-28 12:35:47 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-28 12:35:47 +0100
commit057f156009d8ffca124de7f00ae46c90cbd12665 (patch)
tree18027346942705ef5dfd95d540b78cd12d7b0320 /source/xrmoptions.c
parent909241ddfe76705d8463a9158fe1c44471f23622 (diff)
Remove unneeded atom
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index f829b1b8..c9a64e51 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -225,7 +225,7 @@ static void __config_parse_xresource_options ( XrmDatabase xDB )
}
void config_parse_xresource_options ( xcb_connection_t *xcb_connection, xcb_screen_t *xcb_screen )
{
- char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, netatoms[RESOURCE_MANAGER]);
+ char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, XCB_ATOM_RESOURCE_MANAGER);
if ( name ) {
// Map Xresource entries to rofi config options.
XrmDatabase xDB = XrmGetStringDatabase ( name );
@@ -331,7 +331,7 @@ static void __config_parse_xresource_options_dynamic ( XrmDatabase xDB )
void config_parse_xresource_options_dynamic ( xcb_connection_t *xcb_connection, xcb_screen_t *xcb_screen )
{
- char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, netatoms[RESOURCE_MANAGER]);
+ char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, XCB_ATOM_RESOURCE_MANAGER);
XrmDatabase xDB = XrmGetStringDatabase ( name );
__config_parse_xresource_options_dynamic ( xDB );
XrmDestroyDatabase ( xDB );