diff options
author | Mystery Man <unknown@mandriva.org> | 2005-06-15 10:21:34 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-06-15 10:21:34 +0000 |
commit | ced1ffcebee246fd51572566f1b4f08e6b981c23 (patch) | |
tree | 01d53c7928a67bf29513da0e079096df3ca1ddaa /tools/xhost+.c | |
parent | 43d37ea8829a56d0b864c8665b31da35bb588d51 (diff) | |
download | drakx-backup-do-not-use-10_3_0_24mdk.tar drakx-backup-do-not-use-10_3_0_24mdk.tar.gz drakx-backup-do-not-use-10_3_0_24mdk.tar.bz2 drakx-backup-do-not-use-10_3_0_24mdk.tar.xz drakx-backup-do-not-use-10_3_0_24mdk.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_24mdk
'V10_3_0_24mdk'.
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); -} |