diff options
| author | Simon Rettberg | 2025-12-15 14:54:14 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2025-12-15 14:54:14 +0100 |
| commit | db45e415ede2f8e6b040ab09be9a3166caf5c816 (patch) | |
| tree | ea5bf7295203facb80bf8362cf178648754544ee | |
| parent | [run-virt] Fix resolution setting retry logic (diff) | |
| download | mltk-db45e415ede2f8e6b040ab09be9a3166caf5c816.tar.gz mltk-db45e415ede2f8e6b040ab09be9a3166caf5c816.tar.xz mltk-db45e415ede2f8e6b040ab09be9a3166caf5c816.zip | |
[run-virt] Add debug code to debug problem that's gone while debugging
| -rwxr-xr-x | core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe | bin | 139264 -> 139264 bytes | |||
| -rw-r--r-- | core/modules/run-virt/winres/src/winres.c | 4 |
2 files changed, 4 insertions, 0 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 64c84c90..ec491054 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 23dcfd6a..7bb11ebe 100644 --- a/core/modules/run-virt/winres/src/winres.c +++ b/core/modules/run-virt/winres/src/winres.c @@ -178,7 +178,11 @@ static void CALLBACK tmrResolution(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD if (!bInProc) { bInProc = TRUE; if (setResolution() == 0) { + dalog("Killing resolution timer %d %d", (int)tmrRes, (int)idEvent); KillTimer(hWnd, tmrRes); + if (idEvent != tmrRes) { + KillTimer(hWnd, idEvent); + } tmrRes = 0; } bInProc = FALSE; |
