pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b8583
)
Fix extra newline, and add -g where other switches are forwarded.
author
Ben Woolley
<tautolog@gmail.com>
Wed, 7 Jan 2015 23:41:07 +0000
(15:41 -0800)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 17 Jan 2015 06:23:48 +0000
(07:23 +0100)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
6f71657
..
82cf822
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-957,9
+957,11
@@
newwindow(Client *c, const Arg *arg, gboolean noembed) {
cmd[i++] = "-b";
if(embed && !noembed) {
cmd[i++] = "-e";
- snprintf(tmp, LENGTH(tmp), "%u
\n
", (int)embed);
+ snprintf(tmp, LENGTH(tmp), "%u", (int)embed);
cmd[i++] = tmp;
}
+ if(!allowgeolocation)
+ cmd[i++] = "-g";
if(!loadimages)
cmd[i++] = "-i";
if(kioskmode)