diff options
author | Mystery Man <unknown@mandriva.org> | 2002-08-01 17:20:30 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-08-01 17:20:30 +0000 |
commit | 10e8a05be15a93ecb30d80420a7df79a41df0b6f (patch) | |
tree | 0fe3a8fe9665e857dcea7c8d35b539ab0295a6fa /tools/xhost+.c | |
parent | 20bc98cdccfed607ee0c3050a3a3bd196c0a1d38 (diff) | |
download | drakx-backup-do-not-use-1_1_9_1mdk.tar drakx-backup-do-not-use-1_1_9_1mdk.tar.gz drakx-backup-do-not-use-1_1_9_1mdk.tar.bz2 drakx-backup-do-not-use-1_1_9_1mdk.tar.xz drakx-backup-do-not-use-1_1_9_1mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_9_1mdk'.V1_1_9_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); -} |