Close X connection before execing in uicb_exec

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-24 14:45:46 +01:00
parent b946119d46
commit db8c39d5b0
1 changed files with 1 additions and 0 deletions

1
uicb.c
View File

@ -74,6 +74,7 @@ uicb_exec(int screen __attribute__ ((unused)), char *cmd)
client_unban(c);
XSync(globalconf.display, False);
XCloseDisplay(globalconf.display);
/* Ignore the leading spaces if any */
while(cmd[0] && cmd[0] == ' ')