Introduction
Introduction Statistics Contact Development Disclaimer Help
Move xid printing option from -x to -w - surf - surf browser, a WebKit based br…
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit 7823ab6fc0d035a1e75a3d08867a0dfd04ff635f
parent 9eda6f5dd556552c29dd43095dd5a9bf026a8a5f
Author: Quentin Rameau <[email protected]>
Date: Sat, 29 Apr 2017 17:23:37 +0200
Move xid printing option from -x to -w
Diffstat:
M surf.1 | 2 +-
M surf.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/surf.1 b/surf.1
@@ -121,7 +121,7 @@ which surf should use.
.B \-v
Prints version information to standard output, then exits.
.TP
-.B \-x
+.B \-w
Prints xid to standard output. This can be used to script the browser in for
example
.BR xdotool(1).
diff --git a/surf.c b/surf.c
@@ -920,7 +920,7 @@ newwindow(Client *c, const Arg *a, int noembed)
cmd[i++] = fulluseragent;
}
if (showxid)
- cmd[i++] = "-x";
+ cmd[i++] = "-w";
/* do not keep zoom level */
cmd[i++] = "--";
if ((uri = a->v))
@@ -1899,7 +1899,7 @@ main(int argc, char *argv[])
case 'v':
die("surf-"VERSION", ©2009-2017 surf engineers, "
"see LICENSE for details\n");
- case 'x':
+ case 'w':
showxid = 1;
break;
case 'z':
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.