#define TOOLS_VERSION_HOSTED10_UPDATE1_V_MNR 4
#define TOOLS_VERSION_HOSTED10_UPDATE1_V_BASE 3
-#define TOOLS_VERSION_CURRENT TOOLS_VERSION_HOSTED10_UPDATE1
-#define TOOLS_VERSION_CURRENT_STR TOOLS_VERSION_TO_STR(TOOLS_VERSION_HOSTED10_UPDATE1)
-#define TOOLS_VERSION_CURRENT_CSV TOOLS_VERSION_TO_CSV(TOOLS_VERSION_HOSTED10_UPDATE1)
+#ifndef RC_INVOKED
+#define TOOLS_VERSION_HOSTED10_UPDATE2 TOOLS_VERSION_TO_UINT(TOOLS_VERSION_HOSTED10_UPDATE2_V)
+#endif /* RC_INVOKED */
+#define TOOLS_VERSION_HOSTED10_UPDATE2_V_MJR 8
+#define TOOLS_VERSION_HOSTED10_UPDATE2_V_MNR 4
+#define TOOLS_VERSION_HOSTED10_UPDATE2_V_BASE 4
+
+#define TOOLS_VERSION_CURRENT TOOLS_VERSION_HOSTED10_UPDATE2
+#define TOOLS_VERSION_CURRENT_STR TOOLS_VERSION_TO_STR(TOOLS_VERSION_HOSTED10_UPDATE2)
+#define TOOLS_VERSION_CURRENT_CSV TOOLS_VERSION_TO_CSV(TOOLS_VERSION_HOSTED10_UPDATE2)
/*
* The extended Tools version is the current Tools version with the
static void UnitySetInterlockMinimizeOperation(Bool enabled);
static void UnitySetSendWindowContents(Bool enabled);
static void FireEnterUnitySignal(ToolsAppCtx *ctx, gboolean entered);
+static void UnitySetDisableCompositing(Bool disabled);
+
+/*
+ * Wrapper function for the "unity.set.options" RPC.
+ */
+RpcInRet UnityTcloSetUnityOptions(RpcInData *data);
+
+/*
+ * Wrapper function for the "unity.window.contents.request" RPC.
+ */
+RpcInRet UnityTcloRequestWindowContents(RpcInData *data);
/* Sends the unity.window.contents.start RPC to the host. */
Bool UnitySendWindowContentsStart(UnityWindowId window,
{ UNITY_ADD_HIDDEN_WINDOWS_TO_TRACKER, UnitySetAddHiddenWindows },
{ UNITY_INTERLOCK_MINIMIZE_OPERATION, UnitySetInterlockMinimizeOperation },
{ UNITY_SEND_WINDOW_CONTENTS, UnitySetSendWindowContents },
+ { UNITY_DISABLE_COMPOSITING_IN_GUEST, UnitySetDisableCompositing },
/* Add more Unity Feature Setters above this. */
{0, NULL}
};
}
+/*
+ *----------------------------------------------------------------------------
+ *
+ * UnitySetDisableCompositing --
+ *
+ * Set (or unset) whether the compositing features of the guest window
+ * manager should be disabled.
+ *
+ * Results:
+ * None.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------------
+ */
+
+void
+UnitySetDisableCompositing(Bool disabled)
+{
+ /*
+ * Does the host wish us to disable the compositing features of the guest window
+ * manager. The flag only takes effect on subsequent 'enter unity' calls where
+ * it is checked and used to disable compositing in the platform layer.
+ */
+ if (disabled) {
+ Debug("%s: Window compositing will be disabled in the guest window manager.\n",
+ __FUNCTION__);
+ } else {
+ Debug("%s: Window compositing will be enabled in the guest window manager.\n",
+ __FUNCTION__);
+ }
+ UnityPlatformSetDisableCompositing(unity.up, disabled);
+}
+
+
/*
*------------------------------------------------------------------------------
*
}
+/*
+ *-----------------------------------------------------------------------------
+ *
+ * UnityPlatformSetDisableCompositing --
+ *
+ * Disable (or Enable) the compositing features of the window manager the
+ * next time Unity starts.
+ *
+ * Results:
+ * None.
+ *
+ * Side effects:
+ * None.
+ *
+ *------------------------------------------------------------------------------
+ */
+
+void UnityPlatformSetDisableCompositing(UnityPlatform *up, // IN
+ Bool disabled) // IN
+{
+ ASSERT(up);
+}
+
+
/*
******************************************************************************
* Begin file-scope functions.