diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-02-22 19:19:47 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-02-22 19:21:47 +0100 |
commit | 3e2c03c1fccb811e8e1e32b8f4727988379aba3b (patch) | |
tree | f3f00456d2c5cd19cc9681b65db5023847151667 /src/sbuf.h | |
parent | c58386717db86dc7f5e954d2c972c8d606044bb1 (diff) | |
download | ratpoison-3e2c03c1fccb811e8e1e32b8f4727988379aba3b.zip |
fixup return values of several commands
* in cmd_select(), consistently set the return value for all cases we deal
with
* in cmd_unmanage(), don't attempt to use a NULL pointer if the unmanaged
windows list is empty; just report success
* in cmd_kill, only report failure if XKillClient() actually failed
* in command(), remove a useless test: cmd can't be NULL
* in cmd_gravity, don't call current_window() twice
Diffstat (limited to 'src/sbuf.h')
0 files changed, 0 insertions, 0 deletions