Fixing kiosk mode when a new surf instance is run. - surf - Surf web browser.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c6fbbd9dc6c16b04fd6c59f891909f59474ee429
 (DIR) parent badb84387e659ba1692c08f728ad6e7846d37818
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Mon, 11 Mar 2013 22:08:14 +0100
       
       Fixing kiosk mode when a new surf instance is run.
       
       Diffstat:
         surf.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/surf.c b/surf.c
       @@ -808,7 +808,7 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) {
                }
                if(!loadimages)
                        cmd[i++] = "-i";
       -        if(!kioskmode)
       +        if(kioskmode)
                        cmd[i++] = "-k";
                if(!enableplugins)
                        cmd[i++] = "-p";