Hi! I have removed the possibility to read the winid given by -e option also as a decimal number. This patch readded this part of code, so that vimprobable works also for older version of tabbed or other applications.
Daniel
From 1fe050c49318f83464f3ee1397acd32f4d5f2b48 Mon Sep 17 00:00:00 2001 From: Daniel Carl <[email protected]> Date: Sun, 3 Feb 2013 13:13:21 +0100 Subject: [PATCH] Fixed removed atoi call to get embed id. --- main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index b139c4e..2af332b 100644 --- a/main.c +++ b/main.c @@ -2843,7 +2843,12 @@ main(int argc, char *argv[]) { g_thread_init(NULL); if (winid) { - client.state.embed = strtol(winid, NULL, 16); + if (strncmp(winid, "0x", 2) == 0) { + client.state.embed = strtol(winid, NULL, 16); + } else { + client.state.embed = atoi(winid); + } + fprintf(stderr, "ID %s %u", winid, client.state.embed); } setup_modkeys(); -- 1.7.9.5
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________ Vimprobable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vimprobable-users
