diff options
Diffstat (limited to 'plugins/YAPP/src/popwin.cpp')
-rw-r--r-- | plugins/YAPP/src/popwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAPP/src/popwin.cpp b/plugins/YAPP/src/popwin.cpp index ac801b8ef4..4229911018 100644 --- a/plugins/YAPP/src/popwin.cpp +++ b/plugins/YAPP/src/popwin.cpp @@ -81,7 +81,7 @@ void AddWindowToStack(HWND hwnd) { SystemParametersInfo(SPI_GETWORKAREA, 0, &wa_rect, 0);
if (options.use_mim_monitor) {
RECT clr;
- GetWindowRect((HWND)CallService(MS_CLUI_GETHWND, 0, 0), &clr);
+ GetWindowRect(pcli->hwndContactList, &clr);
HMONITOR hMonitor = MonitorFromRect(&clr, MONITOR_DEFAULTTONEAREST);
if (hMonitor) {
MONITORINFO mi;
|