summaryrefslogtreecommitdiff
path: root/hw/xquartz/quartz.c
diff options
context:
space:
mode:
authorBen Byer <bbyer@apple.com>2008-03-31 22:55:24 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-02 17:48:01 -0700
commite9e2d88436597875f102085d216dc0a8fce1450a (patch)
treec84e4455b8908f369f35217ecb287d2ba27b7364 /hw/xquartz/quartz.c
parentc1be4e3379d8780dff20390939b657ca0973995a (diff)
moved and renamed QuartzMessageServerThread to
DarwinSendDDXEvent to make more clear what it actually does. (cherry picked from commit bee2b377efc930e25017636e5112093a3a6549c7)
Diffstat (limited to 'hw/xquartz/quartz.c')
-rw-r--r--hw/xquartz/quartz.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/hw/xquartz/quartz.c b/hw/xquartz/quartz.c
index a65bd3748..96dc021a6 100644
--- a/hw/xquartz/quartz.c
+++ b/hw/xquartz/quartz.c
@@ -373,34 +373,3 @@ void QuartzSpaceChanged(uint32_t space_id) {
/* Do something special here, so we don't depend on quartz-wm for spaces to work... */
DEBUG_LOG("Space Changed (%u) ... do something interesting...\n", space_id);
}
-
-/*
- * QuartzMessageServerThread
- * Send the X server thread a message by placing it on the event queue.
- */
-void
-QuartzMessageServerThread(
- int type,
- int argc, ...)
-{
- xEvent xe;
- INT32 *argv;
- int i, max_args;
- va_list args;
-
- memset(&xe, 0, sizeof(xe));
- xe.u.u.type = type;
- xe.u.clientMessage.u.l.type = type;
-
- argv = &xe.u.clientMessage.u.l.longs0;
- max_args = 4;
-
- if (argc > 0 && argc <= max_args) {
- va_start (args, argc);
- for (i = 0; i < argc; i++)
- argv[i] = (int) va_arg (args, int);
- va_end (args);
- }
-
- mieqEnqueue(NULL, &xe);
-}