summaryrefslogtreecommitdiffstats
path: root/tools/xhost+.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-09-02 16:38:15 +0000
committerMystery Man <unknown@mandriva.org>2005-09-02 16:38:15 +0000
commitd53d83f3f80a9cad384644bb0d98b4d3d257b4d8 (patch)
tree575ef8f623300f7315ed26bec8c2ef670327366f /tools/xhost+.c
parent46a079ddbe5c93b62183e0a30aed11328eee5939 (diff)
downloaddrakx-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar
drakx-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.gz
drakx-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.bz2
drakx-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.xz
drakx-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_52mdk
'V10_3_0_52mdk'.
Diffstat (limited to 'tools/xhost+.c')
-rw-r--r--tools/xhost+.c11
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);
-}