diff --git a/Changelog.md b/Changelog.md index c2829dd..8fdf9ad 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +### + +- fix for middle mouse button not working + ### 4.5 - opening a URL manually no longer uses a input box but uses the clipboard directly diff --git a/mpv.net/WinForms/MainForm.cs b/mpv.net/WinForms/MainForm.cs index 5e3162e..a45b80b 100644 --- a/mpv.net/WinForms/MainForm.cs +++ b/mpv.net/WinForms/MainForm.cs @@ -329,6 +329,8 @@ namespace mpvnet case 0x0104: // WM_SYSKEYDOWN case 0x0105: // WM_SYSKEYUP case 0x020A: // WM_MOUSEWHEEL + case 0x0207: // WM_MBUTTONDOWN + case 0x0208: // WM_MBUTTONUP if (mp.WindowHandle != IntPtr.Zero) Native.SendMessage(mp.WindowHandle, m.Msg, m.WParam, m.LParam); break;