It is not necessary to call them when the command is not executable. Took opportunity to change parameter to XSync which is supposed to be a 'Bool' type from Xlib, which means either True or False. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>