Fixing kiosk mode when a new surf instance is run.
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index 702eaf6..ee4ab75 100644 (file)
--- 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";