mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
glwindow/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. Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/634
This commit is contained in:
parent
0fb2acab5b
commit
940c9998e5
1 changed files with 0 additions and 4 deletions
|
@ -476,10 +476,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue