diff options
| author | Mystery Man <unknown@mandriva.org> | 2003-02-24 21:38:29 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2003-02-24 21:38:29 +0000 |
| commit | 34fc23f1f8648b24ea847b226d3d9fd6d28b5b94 (patch) | |
| tree | 554d371bc001e11e8b607cf4e159fd0e3c10dc1e /tools/xhost+.c | |
| parent | 125381a2f6f932524a77eb7a30e4f8089077cc6e (diff) | |
| download | drakx-9_1_6mdk.tar drakx-9_1_6mdk.tar.gz drakx-9_1_6mdk.tar.bz2 drakx-9_1_6mdk.tar.xz drakx-9_1_6mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V9_1_6mdk'.V9_1_6mdk
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); -} |
