summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-11-26 23:54:36 +0000
committersabetts <sabetts>2006-11-26 23:54:36 +0000
commit382f48f4cd9861e8c08d8d9c7ea7f67e87bd4e00 (patch)
tree27ca6c148b7ffef00e52be030867a78f8a199dd4 /src/events.c
parentaf876e5944c348407c9f50d03d9c70561a25deed (diff)
downloadratpoison-382f48f4cd9861e8c08d8d9c7ea7f67e87bd4e00.zip
*** empty log message ***
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/events.c b/src/events.c
index 257f141..f09f9d1 100644
--- a/src/events.c
+++ b/src/events.c
@@ -476,8 +476,7 @@ execute_remote_command (Window w)
if (status != Success || req == NULL)
{
- PRINT_DEBUG (("Couldn't get RP_COMMAND Property\n"));
- return NULL;
+ return cmdret_new (RET_FAILURE, "Couldn't get RP_COMMAND Property");
}
/* XGetWindowProperty always allocates one extra byte even if
@@ -491,8 +490,7 @@ execute_remote_command (Window w)
if (status != Success || req == NULL)
{
- PRINT_DEBUG (("Couldn't get RP_COMMAND Property\n"));
- return NULL;
+ return cmdret_new (RET_FAILURE, "Couldn't get RP_COMMAND Property");
}
PRINT_DEBUG (("command: %s\n", req));