I have an application here which fork and execl a little webkit/GTK browser. So far executing the browser works fine, but the close event is not managed by the GDK backend. So it's not possible to close a GTK window unless you destroy it.
I'm working on fixing the GDK backend in recent 2.20 versions, but there is a lot of work to do... I don't expect to get something working until the end of the month... -- Lionel Landwerlin 2010/4/20 danny <tornad...@163.com>: > Hi all, > > I use fork in my program and execute one GTK program, but I found it could > not quit while I press quit button or press one key. > > pid_t pid; > pid = fork(); > if (pid < 0){ > printf ("Error to fork \n"); > }else if(pid == 0){ > execlp ("/test-window", NULL, NULL); > } > > How could I use this? Should not use fork in DFB? > > Hope some suggestions, thanks in advance. > > > > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev