aboutsummaryrefslogtreecommitdiff
path: root/src/AtomHandler.hh
diff options
context:
space:
mode:
authornacitar sevaht <nacitar@ubercpp.com>2011-05-08 02:40:56 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-05-08 05:47:02 (GMT)
commit2f166eb4aeb5d77407e9380d644215cd5e94d592 (patch)
tree8ddb3321158418d0af332bad8b82e6ea7bcd678a /src/AtomHandler.hh
parentde2cca8988f43443f83f6f324c73d6ea03edfae3 (diff)
downloadfluxbox-2f166eb4aeb5d77407e9380d644215cd5e94d592.zip
fluxbox-2f166eb4aeb5d77407e9380d644215cd5e94d592.tar.bz2
fluxbox-remote now properly returns exit status
The previous check relied upon the (undocumented) return value of XChangeProperty to determine the exit status; at least, on my gentoo system, the function seems to return 1 even when it fails to change the property due to contrived, and invalid, parameters. However, setting an error handler allows proper detection of this case. So, now the return status properly indicates whether or not the property was changed (but not whether fluxbox liked the command!).
Diffstat (limited to 'src/AtomHandler.hh')
0 files changed, 0 insertions, 0 deletions