[wiki] [sites] surf/patches/popup: info - popup in new window || Marcin sZpak

From: <git_AT_suckless.org>
Date: Tue, 26 Feb 2019 11:00:00 +0100

commit d596c1f16698996bfaba3102aa15c3dfc07c2ee8
Author: Marcin sZpak <szpak_AT_reakcja.org>
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
_AT_@ -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
 --------
 
Received on Tue Feb 26 2019 - 11:00:00 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 26 2019 - 11:00:30 CET