diff options
author | Mystery Man <unknown@mandriva.org> | 2005-04-04 19:00:13 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-04-04 19:00:13 +0000 |
commit | ff340ae492915a1723450c148641b594326c5fd8 (patch) | |
tree | 3ddaf354b14099899888a5a4c65a2bbbe5d5c3af /move/xwait.c | |
parent | eb8a0c458d1d40e8aaaa00753fcef8cff968c277 (diff) | |
download | drakx-10_2_19mdk.tar drakx-10_2_19mdk.tar.gz drakx-10_2_19mdk.tar.bz2 drakx-10_2_19mdk.tar.xz drakx-10_2_19mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V10_2_19mdk'.V10_2_19mdk
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); -} |