vulkan/window/win32: Don't post any WinProc message to parent window

Posting any message to parent seems to be pointless. That might break
parent window.
Regardless of the posting, parent window can catch mouse event
and also any keyboard events will be handled by parent window by default.
This commit is contained in:
Seungha Yang 2019-12-20 12:37:51 +09:00 committed by GStreamer Merge Bot
parent cd0c07e899
commit 2a3205b294

View file

@ -539,10 +539,6 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
default:
{
/* transmit messages to the parent (ex: mouse/keyboard input) */
HWND parent_id = window_win32->parent_win_id;
if (parent_id)
PostMessage (parent_id, uMsg, wParam, lParam);
ret = DefWindowProc (hWnd, uMsg, wParam, lParam);
break;
}