mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Merge pull request #8216 from Gzushgshsh/main
Fix mouse interactions on the PanelPlayer in x11
This commit is contained in:
commit
8dfebf36d0
@ -691,6 +691,13 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
|
||||
var logFileName = Path.Combine(Configuration.DataDirectory, "mpv-log-" + Guid.NewGuid() + ".txt");
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("log-file"), GetUtf8Bytes(logFileName));
|
||||
}
|
||||
|
||||
|
||||
if (_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("input-cursor-passthrough"), GetUtf8Bytes("yes")) != 0)
|
||||
{
|
||||
// if --input-cursor-passthrough=yes is not avaliable, use --input-cursor=no
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("input-cursor"), GetUtf8Bytes("no"));
|
||||
}
|
||||
}
|
||||
else if (!Directory.Exists(videoFileName))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user