patch by Jack Zhou and Henry Tung to fix alt tab not working on windows 8 (Issue# 3338).
This commit is contained in:
parent
fd6844d521
commit
a610012fb4
|
@ -266,6 +266,12 @@ CMSWindowsWatchdog::startProcess()
|
|||
|
||||
HANDLE userToken = getUserToken(&sa);
|
||||
|
||||
// patch by Jack Zhou and Henry Tung
|
||||
// set UIAccess to fix Windows 8 GUI interaction
|
||||
// http://synergy-foss.org/spit/issues/details/3338/#c70
|
||||
DWORD uiAccess = 1;
|
||||
SetTokenInformation(userToken, TokenUIAccess, &uiAccess, sizeof(DWORD));
|
||||
|
||||
// clear, as we're reusing process info struct
|
||||
ZeroMemory(&m_processInfo, sizeof(PROCESS_INFORMATION));
|
||||
|
||||
|
|
Loading…
Reference in New Issue