From bb55706c05cd9f8631494b4efade71a2b715173f Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sat, 10 May 2014 12:21:23 +0800 Subject: [PATCH] Bug fix #195: Pointer incompatibility with libconfig-1.3* Fix pointer incompatibility with libconfig-1.3*. Thanks to sstewartgallus for reporting. (#195) --- src/compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index 4c432bae..eea98653 100644 --- a/src/compton.c +++ b/src/compton.c @@ -5458,7 +5458,7 @@ parse_config(session_t *ps, struct options_tmp *pcfgtmp) { && !parse_conv_kern_lst(ps, sval, ps->o.blur_kerns, MAX_BLUR_PASS)) exit(1); // --resize-damage - config_lookup_int(&cfg, "resize-damage", &ps->o.resize_damage); + lcfg_lookup_int(&cfg, "resize-damage", &ps->o.resize_damage); // --glx-no-stencil lcfg_lookup_bool(&cfg, "glx-no-stencil", &ps->o.glx_no_stencil); // --glx-copy-from-front