This commit is contained in:
Frank Skare
2019-07-01 04:17:16 +02:00
parent cedd694e8e
commit caf0bee161
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
###
- fix for middle mouse button not working
### 4.5 ### 4.5
- opening a URL manually no longer uses a input box but uses the clipboard directly - opening a URL manually no longer uses a input box but uses the clipboard directly

View File

@@ -329,6 +329,8 @@ namespace mpvnet
case 0x0104: // WM_SYSKEYDOWN case 0x0104: // WM_SYSKEYDOWN
case 0x0105: // WM_SYSKEYUP case 0x0105: // WM_SYSKEYUP
case 0x020A: // WM_MOUSEWHEEL case 0x020A: // WM_MOUSEWHEEL
case 0x0207: // WM_MBUTTONDOWN
case 0x0208: // WM_MBUTTONUP
if (mp.WindowHandle != IntPtr.Zero) if (mp.WindowHandle != IntPtr.Zero)
Native.SendMessage(mp.WindowHandle, m.Msg, m.WParam, m.LParam); Native.SendMessage(mp.WindowHandle, m.Msg, m.WParam, m.LParam);
break; break;