diff options
author | nacitar sevaht <nacitar@ubercpp.com> | 2011-05-08 02:40:56 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-05-08 05:47:02 (GMT) |
commit | 2f166eb4aeb5d77407e9380d644215cd5e94d592 (patch) | |
tree | 8ddb3321158418d0af332bad8b82e6ea7bcd678a /util/fbrun/main.cc | |
parent | de2cca8988f43443f83f6f324c73d6ea03edfae3 (diff) | |
download | fluxbox_paul-2f166eb4aeb5d77407e9380d644215cd5e94d592.zip fluxbox_paul-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 'util/fbrun/main.cc')
0 files changed, 0 insertions, 0 deletions