[client] main: add support for spice cursor channel

This commit is contained in:
Quantum
2022-09-18 20:30:18 -04:00
committed by Geoffrey McRae
parent 1fd00ba26c
commit 0c63a901be
3 changed files with 41 additions and 0 deletions

View File

@@ -1087,12 +1087,14 @@ bool app_useSpiceDisplay(bool enable)
if (enable)
{
purespice_connectChannel(PS_CHANNEL_DISPLAY);
purespice_connectChannel(PS_CHANNEL_CURSOR);
renderQueue_spiceShow(true);
}
else
{
renderQueue_spiceShow(false);
purespice_disconnectChannel(PS_CHANNEL_DISPLAY);
purespice_disconnectChannel(PS_CHANNEL_CURSOR);
}
overlayStatus_set(LG_USER_STATUS_SPICE, enable);