diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-08 07:45:08 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-08 07:45:08 +0000 |
commit | 93fcd1d443d69857dc3c5d859a73f593d4e12d70 (patch) | |
tree | c1fd7550aaa100db9c8cafab358531978b6386d8 /tools/xhost+.c | |
parent | 9555bb791920e8feace953f90cf908e864451b59 (diff) | |
download | drakx-1_1_8_1mdk.tar drakx-1_1_8_1mdk.tar.gz drakx-1_1_8_1mdk.tar.bz2 drakx-1_1_8_1mdk.tar.xz drakx-1_1_8_1mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_1mdk'.V1_1_8_1mdk
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); -} |