Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
I'm calling it from a Lua script. In a fresh Reaper session with no tracks, I can reproduce it consistently.
Reaper 5.33 x64, Windows 8.1
gfx.init("", 200, 200, 0, 200, 200)
local function Main()
local char = gfx.getchar()
if char == -1 or char == 27 then
--local wnd, seg, det = "a", "b", "c" -- <- this code works
local wnd, seg, det = reaper.BR_GetMouseCursorContext() -- <- this code doesn't
local str = (not wnd or wnd == "unknown")
and "- No context -"
(not not seg and (" | "..seg..
(not not det and (" | "..det))))
if string.sub(str, -2) == "| " then str = string.sub(str, 1, -4) end
gfx.x, gfx.y = 10, 10
The text was updated successfully, but these errors were encountered:
fix TCP handle lookup from the master track (reaper-oss#837)
This got broken since REAPER v5.15 because PreventUIRefresh was used before SetMasterTrackVisibility.
Fixed in latest pre (2.9.0). Thanks @cfillion!
Sorry, something went wrong.
No branches or pull requests