diff options
author | Dave Davenport <qball@gmpclient.org> | 2021-05-04 19:50:23 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2021-05-04 19:50:23 +0200 |
commit | 2516173a3d336fe70d01d93c7bcd1a5315bca535 (patch) | |
tree | 6cded24a3d9d02c58520e8f04201ca7f96224c90 /source/xrmoptions.c | |
parent | 373e09e7d3ad03dac3037c3fc167533b36707bc4 (diff) |
Remove parsing of xresource config settings via Xserver.
This option is deprecated.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r-- | source/xrmoptions.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 727476fd..549ec240 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -45,7 +45,6 @@ /** Different sources of configuration. */ const char * const ConfigSourceStr[] = { "Default", - "XResources", "File", "Rasi File", "Commandline", @@ -54,10 +53,9 @@ const char * const ConfigSourceStr[] = { enum ConfigSource { CONFIG_DEFAULT = 0, - CONFIG_XRESOURCES = 1, - CONFIG_FILE = 2, - CONFIG_FILE_THEME = 3, - CONFIG_CMDLINE = 4 + CONFIG_FILE = 1, + CONFIG_FILE_THEME = 2, + CONFIG_CMDLINE = 3 }; typedef struct @@ -335,15 +333,7 @@ static void __config_parse_xresource_options_dynamic ( xcb_xrm_database_t *xDB, g_free ( name ); } } -void config_parse_xresource_options ( xcb_stuff *xcb ) -{ - xcb_xrm_database_t *xDB = xcb_xrm_database_from_default ( xcb->connection ); - if ( xDB ) { - __config_parse_xresource_options ( xDB, CONFIG_XRESOURCES ); - __config_parse_xresource_options_dynamic ( xDB, CONFIG_XRESOURCES ); - xcb_xrm_database_free ( xDB ); - } -} + void config_parse_xresource_options_file ( const char *filename ) { if ( !filename ) { |