summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/darwin/bundle/quartzShared.h
diff options
context:
space:
mode:
authordawes <dawes>2001-04-09 16:26:57 +0000
committerdawes <dawes>2001-04-09 16:26:57 +0000
commitacda79cb882d0fd8b59b52d61ec88dde275017e2 (patch)
treec4bec0e3e7d2412ae2074b1755b469a26bd48a93 /xc/programs/Xserver/hw/darwin/bundle/quartzShared.h
parentd95729913540a637b66655271b83288368a59775 (diff)
Initial revision
Diffstat (limited to 'xc/programs/Xserver/hw/darwin/bundle/quartzShared.h')
-rw-r--r--xc/programs/Xserver/hw/darwin/bundle/quartzShared.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/xc/programs/Xserver/hw/darwin/bundle/quartzShared.h b/xc/programs/Xserver/hw/darwin/bundle/quartzShared.h
new file mode 100644
index 000000000..9a69295ce
--- /dev/null
+++ b/xc/programs/Xserver/hw/darwin/bundle/quartzShared.h
@@ -0,0 +1,38 @@
+/*
+ * Shared definitions between the Darwin X Server
+ * and the Cocoa front end.
+ */
+/* $XFree86: xc/programs/Xserver/hw/darwin/bundle/quartzShared.h,v 1.3 2001/04/05 06:08:46 torrey Exp $ */
+
+#ifndef _QUARTZSHARED_H
+#define _QUARTZSHARED_H
+
+// Data stored at startup for Cocoa front end
+extern int quartzEventWriteFD;
+extern int quartzStartClients;
+
+// User preferences used by X server
+extern int quartzUseSysBeep;
+extern int darwinFakeButtons;
+
+void QuartzReadPreferences(void);
+
+// NX_APPDEFINED event subtypes for special commands to the X server
+// update modifiers: update all modifier keys
+// show: vt switch to X server; recapture screen and restore X drawing
+// hide: vt switch away from X server; release screen and clip X drawing
+// quit: kill the X server and release the display
+// read pasteboard: copy Mac OS X pasteboard into X cut buffer
+// write pasteboard: copy X cut buffer onto Mac OS X pasteboard
+
+enum {
+ kXDarwinUpdateModifiers,
+ kXDarwinShow,
+ kXDarwinHide,
+ kXDarwinQuit,
+ kXDarwinReadPasteboard,
+ kXDarwinWritePasteboard
+};
+
+#endif /* _QUARTZSHARED_H */
+