wmaker: fix detection of legacy Apercu configuration keywords
commitae7e228aa400edf0beb0f61499eaf41cc95af3fc
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 20 Jun 2015 16:23:58 +0000 (20 18:23 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 20 Jun 2015 16:34:56 +0000 (20 17:34 +0100)
treedf475d5bd2afa4142b4c26c3d40fc4d14d85b006
parent0dfb42caae93e37f31a2e0c600e321cd18cb8bbe
wmaker: fix detection of legacy Apercu configuration keywords

As reported by Josip, the code in Window Maker to detect the use of the
legacy keyword "MiniwindowApercuBalloons" and "ApercuSize" was broken,
which means they were always seen as used even when not present.

This patch fixes the detection to only use them if they were effectively
used.

Reported-by: Josip Deanovic <djosip+news@linuxpages.net>
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/defaults.c