Closed natural-harmonia-gropius closed 1 year ago
Stalled
getter of geometry needs to be implemented, https://github.com/mpv-player/mpv/issues/10788
and this issue only happens during input-doubleclick-time
. (default to 300ms)
delete branch
mp.observe_property("geometry", "native", function(_, geometry)
print(geometry)
local binding = bind_map["MBTN_LEFT"]
if not binding then return end
print(binding.queue[#binding.queue])
binding.queue = table.filter(binding.queue, function(i) return i ~= #binding.queue end)
end)
I'm also using christoph-heinrich/mpv-pointer-event just to be able to drag with MBTN_LEFT
.
I'm curious as to why it can handle it while it doesn't seem to be the case for InputEvent?
For users who have window-dragging
(default=yes), the drag
is not usable in windowed mode.
For me I just want to prevent the click event if window be dragged. But at least in Windows the getter of geometry
not yet implemented.
If you need mouse gestures, that would be a standalone script.
Fix https://github.com/Natural-Harmonia-Gropius/InputEvent/issues/2