mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
cd0c07e899
commit
2a3205b294
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue