1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-19 05:41:16 +00:00
mpv/video/out/cocoa
Akemi 9bd819a0bc cocoa: fix segfault in certain circumstances
i falsely assumed that the windowDidChangeScreen was meant to report
‘physical’ screen changes but was wondering why it triggers on other
events too. it actually is a event that informs us when anything
referenced by our current NSScreen is changed. even when something
referenced in the NSScreen changed the old and new NSScreen are still
equal if the physical screen didn’t change. with that my previous
optimisation broke some cases where the physical screen didn’t change
but things it referenced did, leading to a segfault when theses were
accessed. to keep the optimisation we will always update our internal
NSScreen reference but the rest only when the physical screen was
changed.
2017-02-27 23:57:44 +01:00
..
events_view.h cocoa: refactor mouse events and cursor visibility 2017-02-16 22:22:11 +01:00
events_view.m cocoa: fix dragging out of focus window 2017-02-21 19:26:33 +01:00
mpvadapter.h cocoa: fix segfault in certain circumstances 2017-02-27 23:57:44 +01:00
video_view.h
video_view.m cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
window.h cocoa: move updateBorder method to the protocol 2017-01-19 14:54:22 +01:00
window.m cocoa: fix segfault in certain circumstances 2017-02-27 23:57:44 +01:00