summaryrefslogtreecommitdiffstats
path: root/move/xwait.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-12-18 12:19:48 +0000
committerMystery Man <unknown@mandriva.org>2005-12-18 12:19:48 +0000
commitde25dab468737adae2c3f5d45a8bd7eb3fdc83e6 (patch)
tree874cebd5583c01c90ba083411b4b495dfb517b9a /move/xwait.c
parent575a03f47cd0de3af62c1b2f2685324943feb08a (diff)
downloaddrakx-backup-do-not-use-de25dab468737adae2c3f5d45a8bd7eb3fdc83e6.tar
drakx-backup-do-not-use-de25dab468737adae2c3f5d45a8bd7eb3fdc83e6.tar.gz
drakx-backup-do-not-use-de25dab468737adae2c3f5d45a8bd7eb3fdc83e6.tar.bz2
drakx-backup-do-not-use-de25dab468737adae2c3f5d45a8bd7eb3fdc83e6.tar.xz
drakx-backup-do-not-use-de25dab468737adae2c3f5d45a8bd7eb3fdc83e6.zip
This commit was manufactured by cvs2svn to create tag 'V10_4_6_1mdk'.V10_4_6_1mdk
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);
-}