From d5cba7a574a667f5321194cb05d0b4adcb995866 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 7 Sep 2008 04:17:33 +0000 Subject: x11vnc: kill gui_pid on exit in -connect/-connect_or_exit mode. -grablocal n experiment (not compiled by default). -macuskbd option for macosx for orig uskdb code. keycode=N remote contol cmd. Find dpy look at non-NFS cookies in /tmp. Fix gui tray insertion on recent gnome dt. Fix connect_file bug. Sync SSVNC --- x11vnc/solid.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'x11vnc/solid.c') diff --git a/x11vnc/solid.c b/x11vnc/solid.c index fd7424d..948fd93 100644 --- a/x11vnc/solid.c +++ b/x11vnc/solid.c @@ -532,6 +532,12 @@ static void solid_gnome(char *color) { "/desktop/gnome/background/picture_options"; char set_option[] = "gconftool-2 --set " "/desktop/gnome/background/picture_options --type string '%s'"; +#if 0 + char get_filename[] = "gconftool-2 --get " + "/desktop/gnome/background/picture_filename"; + char set_filename[] = "gconftool-2 --set " + "/desktop/gnome/background/picture_filename --type string '%s'"; +#endif static char *orig_color = NULL; static char *orig_option = NULL; char *cmd; @@ -607,6 +613,14 @@ static void solid_gnome(char *color) { sprintf(cmd, set_option, "none"); dt_cmd(cmd); free(cmd); + +#if 0 + cmd = (char *) malloc(strlen(set_filename) + strlen("none") + 1); + sprintf(cmd, set_filename, "none"); + dt_cmd(cmd); + free(cmd); +#endif + #endif /* NO_X11 */ } -- cgit v1.2.1