summaryrefslogtreecommitdiffstats
path: root/tools/xhost+.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-10-30 17:22:17 +0000
committerMystery Man <unknown@mandriva.org>2002-10-30 17:22:17 +0000
commit75ebb7492ad8f729ae6ea34960f07b7ed650310c (patch)
tree560408cfbe6ae46f9938457e2dcad4e31e8dc2c4 /tools/xhost+.c
parentb91853177bc253b1afe8af21bd4fd4ed2f5dcd68 (diff)
downloaddrakx-KA9_0_noscsi.tar
drakx-KA9_0_noscsi.tar.gz
drakx-KA9_0_noscsi.tar.bz2
drakx-KA9_0_noscsi.tar.xz
drakx-KA9_0_noscsi.zip
This commit was manufactured by cvs2svn to create tag 'KA9_0_noscsi'.KA9_0_noscsi
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);
-}