]> Skullheadx's Git Forge - surf.git/commitdiff
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 702eaf6d80768faae23c8535599322f9b57223a7..ee4ab756135617f57ec459129d331e2f75101af2 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";