You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The received Xlib mouse events are converted to mouse.Events
The original touch.Event usage is dropped, it should be used when touch(screen) is supported to prevent confusion. Applicaiton can easily convert mouse events into touch event if they desire, as shown by the shiny (Windows) example application.
Fixesgolang/go#20625
Change-Id: I9e76b40bbe25015fb163ba3d51b39a1f5cd17f54
From reading the code, it seems to me that the intent for the "desktop" behaviour of a mobile/app program to be an emulator for the mobile behaviour. If that's true, converting from mouse events to touch events seems appropriate.
While mobile/app is mobile-centric, shiny is desktop-centric (and doesn't even run on mobiles). Somehow merging the two was probably the goal before work stalled.
@hyangah or @crawshaw might know more. I haven't worked much with the pure-Go mobile/app or Shiny.
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
Click a mouse button in an X window
What did you expect to see?
I expect to see a
mouse.Event
on my event channelWhat did you see instead?
I see a
touch.Event
instead.The text was updated successfully, but these errors were encountered: