diff options
| author | Mystery Man <unknown@mandriva.org> | 2002-10-30 17:22:17 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2002-10-30 17:22:17 +0000 |
| commit | 75ebb7492ad8f729ae6ea34960f07b7ed650310c (patch) | |
| tree | 560408cfbe6ae46f9938457e2dcad4e31e8dc2c4 /tools/xhost+.c | |
| parent | b91853177bc253b1afe8af21bd4fd4ed2f5dcd68 (diff) | |
| download | drakx-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+.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); -} |
