diff options
Diffstat (limited to 'x11vnc/solid.c')
-rw-r--r-- | x11vnc/solid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/solid.c b/x11vnc/solid.c index f55dbd1..fd7424d 100644 --- a/x11vnc/solid.c +++ b/x11vnc/solid.c @@ -883,10 +883,10 @@ void kde_no_animate(int restore) { cmd = (char *) malloc(len); sprintf(cmd, kwin_reconfigure, user, sess); - len = 1 + strlen(kwinrc_off) + 2 + strlen(cmd) + 2 + strlen("sleep 5") + 2 + strlen(kwinrc_on) + 3 + 1; + len = 1 + strlen("sleep 10") + 2 + strlen(kwinrc_off) + 2 + strlen(cmd) + 2 + strlen("sleep 5") + 2 + strlen(kwinrc_on) + 3 + 1; cmd2 = (char *) malloc(len); - sprintf(cmd2, "(%s; %s; sleep 5; %s) &", kwinrc_off, cmd, kwinrc_on); + sprintf(cmd2, "(sleep 10; %s; %s; sleep 5; %s) &", kwinrc_off, cmd, kwinrc_on); dt_cmd(cmd2); free(cmd); |