summaryrefslogtreecommitdiffstats
path: root/move/xwait.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-09-01 20:27:41 +0000
committerMystery Man <unknown@mandriva.org>2005-09-01 20:27:41 +0000
commitf027d873e1c6f4b372b541cc351c71820a9063cd (patch)
tree4c1914e76177c18cf0a45829bbdf7eb0a92c2435 /move/xwait.c
parent5d83bfe6f6b331df65d493a78e9ed2f1b30a2464 (diff)
downloaddrakx-backup-do-not-use-10_3_0_51mdk.tar
drakx-backup-do-not-use-10_3_0_51mdk.tar.gz
drakx-backup-do-not-use-10_3_0_51mdk.tar.bz2
drakx-backup-do-not-use-10_3_0_51mdk.tar.xz
drakx-backup-do-not-use-10_3_0_51mdk.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_51mdk
'V10_3_0_51mdk'.
Diffstat (limited to 'move/xwait.c')
-rw-r--r--move/xwait.c19
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);
-}