mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-29 06:18:31 +02:00
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
1 changed files with 6 additions and 0 deletions
|
@ -266,6 +266,12 @@ CMSWindowsWatchdog::startProcess()
|
||||||
|
|
||||||
HANDLE userToken = getUserToken(&sa);
|
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
|
// clear, as we're reusing process info struct
|
||||||
ZeroMemory(&m_processInfo, sizeof(PROCESS_INFORMATION));
|
ZeroMemory(&m_processInfo, sizeof(PROCESS_INFORMATION));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue