summaryrefslogtreecommitdiffstats
path: root/x11vnc/solid.c
diff options
context:
space:
mode:
authorrunge <runge>2008-09-07 04:17:33 +0000
committerrunge <runge>2008-09-07 04:17:33 +0000
commitd5cba7a574a667f5321194cb05d0b4adcb995866 (patch)
tree2748fd38612cc63256ee864284cd8dab19f4eba1 /x11vnc/solid.c
parentdbfa4ad1f78f6133bc5f50e766f7f3bfdb8fa049 (diff)
downloadlibtdevnc-d5cba7a574a667f5321194cb05d0b4adcb995866.tar.gz
libtdevnc-d5cba7a574a667f5321194cb05d0b4adcb995866.zip
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
Diffstat (limited to 'x11vnc/solid.c')
-rw-r--r--x11vnc/solid.c14
1 files changed, 14 insertions, 0 deletions
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 */
}