diff options
-rw-r--r-- | plugins/BossKeyPlus/src/BossKey.cpp | 2 | ||||
-rw-r--r-- | src/core/stdpopup/src/popwin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index b247bb4ef6..43b09fbd89 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -170,7 +170,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM) CallService("FloatingContacts/MainHideAllThumbs", 0, 0);
g_bOldSetting |= OLD_FLTCONT;
}
- else if (!mir_wstrcmp(szTemp, L"PopupWnd2") || !mir_wstrcmp(szTemp, L"YAPPWinClass")) // destroy opened popups
+ else if (!mir_wstrcmp(szTemp, L"PopupWnd2")) // destroy opened popups
PUDeletePopup(hWnd);
else {
DWORD threadId = GetWindowThreadProcessId(hWnd, 0);
diff --git a/src/core/stdpopup/src/popwin.h b/src/core/stdpopup/src/popwin.h index e31b4aa6cf..007ea57695 100644 --- a/src/core/stdpopup/src/popwin.h +++ b/src/core/stdpopup/src/popwin.h @@ -1,7 +1,7 @@ #ifndef _POPWIN_INC #define _POPWIN_INC -#define POP_WIN_CLASS _A2W(MODULENAME) L"YAPPWindowClass" +#define POP_WIN_CLASS L"PopupWnd2" #define PUM_SETTEXT (WM_USER + 0x020) #define PUM_GETCONTACT (WM_USER + 0x021) |