diff options
author | Mystery Man <unknown@mandriva.org> | 2005-04-05 19:41:54 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-04-05 19:41:54 +0000 |
commit | 1d9a4b73a37c6e942f909c2d42ca13b5c47e8362 (patch) | |
tree | 5bab4266bc57a31d97ac6a8badc2ede721a42c9c /move/xwait.c | |
parent | 4691e29d1228b10abbe586c5ecb87ec9e13bd3ec (diff) | |
download | drakx-backup-do-not-use-1d9a4b73a37c6e942f909c2d42ca13b5c47e8362.tar drakx-backup-do-not-use-1d9a4b73a37c6e942f909c2d42ca13b5c47e8362.tar.gz drakx-backup-do-not-use-1d9a4b73a37c6e942f909c2d42ca13b5c47e8362.tar.bz2 drakx-backup-do-not-use-1d9a4b73a37c6e942f909c2d42ca13b5c47e8362.tar.xz drakx-backup-do-not-use-1d9a4b73a37c6e942f909c2d42ca13b5c47e8362.zip |
This commit was manufactured by cvs2svn to create tag 'V10_2_20mdk'.V10_2_20mdk
Diffstat (limited to 'move/xwait.c')
-rw-r--r-- | move/xwait.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/move/xwait.c b/move/xwait.c deleted file mode 100644 index 07a693514..000000000 --- a/move/xwait.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <stdlib.h> -#include <X11/Xlib.h> - -int main(int argc, char **argv) { - int permanent = argc > 1 && !strcmp(argv[1], "-permanent"); - Display *display = XOpenDisplay(NULL); - - if (display) { - XEvent event; - - XSelectInput(display, DefaultRootWindow(display), SubstructureNotifyMask); - do { - XNextEvent(display, &event); - } while (event.type != CreateNotify || permanent); - XCloseDisplay(display); - } - - exit(display == NULL); -} |