diff options
author | Mystery Man <unknown@mandriva.org> | 2004-06-15 16:50:22 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2004-06-15 16:50:22 +0000 |
commit | 8ea9beca90c410e12593fedfb6e741dbdf8795d0 (patch) | |
tree | 544a377d0ea57462110009fbbbfd14473390e2a1 /tools/xhost+.c | |
parent | b5dc638815c772056e07cd013f5b1674900456d5 (diff) | |
download | drakx-backup-do-not-use-8ea9beca90c410e12593fedfb6e741dbdf8795d0.tar drakx-backup-do-not-use-8ea9beca90c410e12593fedfb6e741dbdf8795d0.tar.gz drakx-backup-do-not-use-8ea9beca90c410e12593fedfb6e741dbdf8795d0.tar.bz2 drakx-backup-do-not-use-8ea9beca90c410e12593fedfb6e741dbdf8795d0.tar.xz drakx-backup-do-not-use-8ea9beca90c410e12593fedfb6e741dbdf8795d0.zip |
This commit was manufactured by cvs2svn to create branch 'mandrakesoft'.topic/mandrakesoft
Diffstat (limited to 'tools/xhost+.c')
-rw-r--r-- | tools/xhost+.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/xhost+.c b/tools/xhost+.c deleted file mode 100644 index 58781274e..000000000 --- a/tools/xhost+.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <stdlib.h> -#include <X11/Xlib.h> - - -int main(int argc, char **argv) { - Display *d = XOpenDisplay(getenv("DISPLAY") ? getenv("DISPLAY") : ":0"); - if (d == NULL) exit(1); - XDisableAccessControl(d); - XCloseDisplay(d); - exit(0); -} |