diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
commit | 0a94f3feb8d7841fe8212febcbbdac1073413e05 (patch) | |
tree | 09f4686118e32ec13377577bbbd0f08e8120836c /tools/xhost+.c | |
parent | 127a73d935d78af53d3dadd05d4636f6b717976d (diff) | |
download | drakx-0a94f3feb8d7841fe8212febcbbdac1073413e05.tar drakx-0a94f3feb8d7841fe8212febcbbdac1073413e05.tar.gz drakx-0a94f3feb8d7841fe8212febcbbdac1073413e05.tar.bz2 drakx-0a94f3feb8d7841fe8212febcbbdac1073413e05.tar.xz drakx-0a94f3feb8d7841fe8212febcbbdac1073413e05.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_14mdk'.V1_1_8_14mdk
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); -} |