mpv/osdep
nanahi 79068baf43 win32: properly handle WM_XBUTTONUP and WM_XBUTTONDOWN
According to MS documentation, an application should return TRUE from
WM_XBUTTONUP and WM_XBUTTONDOWN if it processes these messages.
DefWindowProc generates the WM_APPCOMMAND message when it processes the
WM_XBUTTONUP message, so if an application properly handles WM_XBUTTONUP
messages, extra WM_APPCOMMAND messages won't be generated.

Because mpv doesn't properly handle these messages,
WM_XBUTTONUP causes APPCOMMAND_BROWSER_BACKWARD to be generated, resulting
in duplicated keys and improper fix 438ead7a, which prevents the processing
of the appcommand from sources other than mouse clicks.

Fix this by following the documentation, and the back and forward
appcommands can be added.
2023-12-06 11:07:37 +01:00
..
android
macos mac: report modifier keys on precise scrolling 2023-12-02 14:59:59 +01:00
apple_utils.c
apple_utils.h
compiler.h audio: introduce ao_read_data_nonblocking() 2023-11-08 20:26:23 +01:00
endian.h
getpid.h
glob-win.c
io.c osdep/io: implement rename() wrapper 2023-11-10 11:26:10 +01:00
io.h osdep/io: add PRINTF_ATTRIBUTE for printf overrides 2023-11-25 12:38:20 +01:00
language-apple.c
language-posix.c
language-win.c
macOS_swift_bridge.h
macosx_application.h mac: cleanup some unused and unneeded code 2023-11-25 19:04:07 +01:00
macosx_application.m mac: fix libmpv usage without embedding 2023-11-25 19:04:07 +01:00
macosx_application_objc.h mac: fix libmpv usage without embedding 2023-11-25 19:04:07 +01:00
macosx_events.h
macosx_events.m osdep/macosx: add default switch cases to suppress Wswitch 2023-11-24 10:05:09 +01:00
macosx_events_objc.h
macosx_menubar.h
macosx_menubar.m mac: add rotation menubar entries 2023-11-20 23:16:43 +01:00
macosx_menubar_objc.h
macosx_touchbar.h
macosx_touchbar.m osdep/macosx: add default switch cases to suppress Wswitch 2023-11-24 10:05:09 +01:00
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c meson: adjust win32 defines 2023-11-25 12:38:20 +01:00
main-fn.h
meson.build Reapply "osdep/meson: add libplacebo include dir to swift compile" 2023-11-27 15:00:35 -06:00
mpv.exe.manifest
mpv.rc
path-darwin.c
path-macosx.m
path-unix.c
path-uwp.c
path-win.c
path.h
poll_wrapper.c vo: don't sleep 1ms always when requested time is in the past 2023-11-09 21:31:58 +00:00
poll_wrapper.h
semaphore.h
semaphore_osx.c
strnlen.h
subprocess-dummy.c
subprocess-posix.c
subprocess-win.c win32: don't jump over variable init with goto 2023-11-18 23:55:28 +00:00
subprocess.c
subprocess.h
terminal-dummy.c
terminal-unix.c
terminal-win.c
terminal.h
threads-posix.c
threads-posix.h osdep/threads-posix: use CLOCK_MONOTONIC if supported 2023-11-08 04:32:10 +00:00
threads-win32.h threads-win32: add comment about local decl of a function 2023-11-08 04:32:10 +00:00
threads.h
timer-darwin.c
timer-linux.c
timer-win32.c
timer.c
timer.h
w32_keyboard.c win32: properly handle WM_XBUTTONUP and WM_XBUTTONDOWN 2023-12-06 11:07:37 +01:00
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c
windows_utils.h