diff options
| author | Mystery Man <unknown@mandriva.org> | 2004-02-20 00:03:26 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2004-02-20 00:03:26 +0000 |
| commit | 959a1722faec6b30510c788c49dcb4b7cb96d1e0 (patch) | |
| tree | 8d25ea2b09098078292e7dcda489471a30b4e81a /move/xwait.c | |
| parent | 0413d7133026a6cddf226027ebdfee6fa68890f7 (diff) | |
| download | drakx-10_0_21mdk.tar drakx-10_0_21mdk.tar.gz drakx-10_0_21mdk.tar.bz2 drakx-10_0_21mdk.tar.xz drakx-10_0_21mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V10_0_21mdk'.V10_0_21mdk
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); -} |
