Greetings.
On Fri, 12 Jul 2013 06:52:58 +0200 Jack Murray wrote:
> diff --git a/surf.c b/surf.c
> index 53dda18..0f9b032 100644
> --- a/surf.c
> +++ b/surf.c
> @@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) {
> cmd[i++] = "-s";
> if(showxid)
>
Oops, that introduces a bug because I forgot to increase the buffer size.
Let's try that again:
diff --git a/surf.c b/surf.c
index 53dda18..939a06f 100644
--- a/surf.c
+++ b/surf.c
@@ -843,7 +843,7 @@ newclient(void) {
static void
newwindow(Client *c, const Arg *arg, gboolean noembed) {
diff --git a/surf.c b/surf.c
index 53dda18..0f9b032 100644
--- a/surf.c
+++ b/surf.c
@@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) {
cmd[i++] = "-s";
if(showxid)
cmd[i++] = "-x";
+ cmd[i++] = "-c";
+ cmd[i++] = cookief