diff options
Diffstat (limited to 'core/modules/run-virt')
-rwxr-xr-x | core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe | bin | 61952 -> 61952 bytes | |||
-rw-r--r-- | core/modules/run-virt/winres/src/winres.c | 53 |
2 files changed, 0 insertions, 53 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe b/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe Binary files differindex 5e44531e..254143f5 100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe diff --git a/core/modules/run-virt/winres/src/winres.c b/core/modules/run-virt/winres/src/winres.c index 3684e1d7..7020b1a5 100644 --- a/core/modules/run-virt/winres/src/winres.c +++ b/core/modules/run-virt/winres/src/winres.c @@ -806,59 +806,6 @@ static int setResWinLegacy(struct resolution *res, int nres) return 0; } -static void gfxReset() -{ - INPUT keys[8] = { - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LWIN, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LSHIFT, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LCONTROL, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VkKeyScanA('b') & 0xff, - }, - // UP - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VkKeyScanA('b') & 0xff, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LWIN, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LSHIFT, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LCONTROL, - }, - }; - UINT ret = SendInput(8, keys, sizeof(INPUT)); - if (ret == 0) { - dalog("SendInput failed: %d", (int)GetLastError()); - } else { - Sleep(250); - } -} - static int setResVMware(struct resolution *res, int nres) { static wchar_t path[MAX_PATH] = L""; |