diff options
author | Mystery Man <unknown@mandriva.org> | 2004-11-06 08:30:59 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2004-11-06 08:30:59 +0000 |
commit | 42e38e074bf1200783849ea85e205e6614f988d7 (patch) | |
tree | 3c218a7ef3c66c8064eb2f6fa84ef44cef7b55a6 /move/xwait.c | |
parent | a4a67fd68bcffc42eb98871618c8f07b55157d5e (diff) | |
download | drakx-backup-do-not-use-topic/a.tar drakx-backup-do-not-use-topic/a.tar.gz drakx-backup-do-not-use-topic/a.tar.bz2 drakx-backup-do-not-use-topic/a.tar.xz drakx-backup-do-not-use-topic/a.zip |
This commit was manufactured by cvs2svn to create branch 'a'.topic/a
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); -} |