Fixing kiosk mode when a new surf instance is run.
authorChristoph Lohmann <20h@r-36.net>
Mon, 11 Mar 2013 21:08:14 +0000 (22:08 +0100)
committerChristoph Lohmann <20h@r-36.net>
Mon, 11 Mar 2013 21:08:14 +0000 (22:08 +0100)
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";