summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-25 16:52:57 +0200
committerSimon Rettberg2020-08-25 16:52:57 +0200
commit468c5738eca2d3f606c1cb8896da3f31b5799257 (patch)
treeee08597c594d44a0278a381f9c47840240a70a41
parent[run-virt] Pass debug mode to openslx.exe via .ini (diff)
downloadmltk-468c5738eca2d3f606c1cb8896da3f31b5799257.tar.gz
mltk-468c5738eca2d3f606c1cb8896da3f31b5799257.tar.xz
mltk-468c5738eca2d3f606c1cb8896da3f31b5799257.zip
[run-virt] openslx.exe: Remove unused function
-rwxr-xr-xcore/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exebin61952 -> 61952 bytes
-rw-r--r--core/modules/run-virt/winres/src/winres.c53
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
index 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
Binary files differ
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"";