Christoph Lohmann <2...@r-36.net> on Mon, 2013/03/11 21:28:
> Greetings.
> 
> On Mon, 11 Mar 2013 21:28:54 +0100 Christian Hesse <l...@eworm.de> wrote:
> > Christoph Lohmann <2...@r-36.net> on Sat, 2013/03/09 09:05:
> > > If  that  page is there and it can be really used to set this up, then I
> > > will add it.
> > 
> > Please take a look at the website git repository. Does that look like what
> > you expected?
> > 
> > After testing a bit I found another problem: The right mouse button gives
> > you some options I want to disallow. Is there any way to completely
> > disable right mouse button?
> 
> I  added  your patch to vanilla surf, plus your latest change to disable
> the context menu.

Thanks a lot!

> Do you still see any way for the user to escalate from
> its destiny to only have one static surf window around?

Actually I do not. I am still testing but I think this is fool proof now.

However I have one additional proposal: I would like to hide the title change
on mouse hover in kiosk mode. My project is about an exam taking system and I
would like to completely hide URLs from the user.
A patch is attached.

> Thanks  for  adding the description to the wiki, how to set up the kiosk
> mode.

No problem. ;)
I renamed the file and added a note about sshd, pushed to git.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
diff --git a/surf.c b/surf.c
index ee4ab75..0f7fb40 100644
--- a/surf.c
+++ b/surf.c
@@ -663,7 +663,8 @@ newclient(void) {
 	g_signal_connect(G_OBJECT(c->view),
 			"title-changed",
 			G_CALLBACK(titlechange), c);
-	g_signal_connect(G_OBJECT(c->view),
+	if (!kioskmode)
+		g_signal_connect(G_OBJECT(c->view),
 			"hovering-over-link",
 			G_CALLBACK(linkhover), c);
 	g_signal_connect(G_OBJECT(c->view),

Attachment: signature.asc
Description: PGP signature

Reply via email to