commit d596c1f16698996bfaba3102aa15c3dfc07c2ee8
Author: Marcin sZpak <[email protected]>
Date: Tue Feb 26 10:57:31 2019 +0100
surf/patches/popup: info - popup in new window
diff --git a/surf.suckless.org/patches/popup-on-gesture/index.md
b/surf.suckless.org/patches/popup-on-gesture/index.md
index 5cf81f2b..1c5d5406 100644
--- 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
--------