Fix monitor capture not updating coordinates when switching monitor

Updating was broken since 0ef092a33a
master
palana 2014-10-26 03:42:47 +01:00
parent b347aaf8e8
commit 567edbf4ea
1 changed files with 1 additions and 1 deletions

View File

@ -1753,7 +1753,7 @@ INT_PTR CALLBACK ConfigDesktopSourceProc(HWND hwnd, UINT message, WPARAM wParam,
case IDC_MONITOR:
{
if (!lParam) {
if (!lParam || HIWORD(wParam) == CBN_SELCHANGE) {
UINT id = (UINT) SendMessage(GetDlgItem(hwnd, IDC_MONITOR), CB_GETCURSEL, 0, 0);
const MonitorInfo &monitor = App->GetMonitor(id);