From cc2cc7510d99b0647546cde1fed36ac15f514a06 Mon Sep 17 00:00:00 2001 From: narzoul Date: Sat, 17 Aug 2024 19:29:47 +0200 Subject: [PATCH] Fixed an occasional deadlock caused by SPI_SETSHOWIMEUI when alt-tabbing --- DDrawCompat/Gdi/Font.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DDrawCompat/Gdi/Font.cpp b/DDrawCompat/Gdi/Font.cpp index deb4cb3..da775c6 100644 --- a/DDrawCompat/Gdi/Font.cpp +++ b/DDrawCompat/Gdi/Font.cpp @@ -23,6 +23,8 @@ namespace case SPI_SETFONTSMOOTHING: g_isFontSmoothingEnabled = 0 != uiParam; return TRUE; + case SPI_SETSHOWIMEUI: + return TRUE; } return LOG_RESULT(origSystemParametersInfo(uiAction, uiParam, pvParam, fWinIni)); }