commit d596c1f16698996bfaba3102aa15c3dfc07c2ee8
parent bccca7faea304ca2ed5acd25c480b9b31ac6e8b9
Author: Marcin sZpak <szpak@reakcja.org>
Date: Tue, 26 Feb 2019 10:57:31 +0100
surf/patches/popup: info - popup in new window
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/surf.suckless.org/patches/popup-on-gesture/index.md b/surf.suckless.org/patches/popup-on-gesture/index.md
@@ -7,6 +7,14 @@ Description
Enable same-window popup on user gesture.
(some pages don't work correctly without that, others redirect to spam pages though)
+To open popup in new window open diff file and replace:
+
++ loaduri((Client *) c, &aa);
+
+with:
+
++ newwindow(c, &aa, 1);
+
Download
--------