Skip to content

Conversation

@asig
Copy link

@asig asig commented Jun 26, 2013

Hey,

Windows event handling seems to be seriously broken. Using a separate goroutine doesn't work, because the main UI thread needs to run the message pump. This change fixes this. If compiled under windows, it does not start the pollEvents() goroutine, and it does not expose the Events channel. Instead, it makes PollEvents() public.

I don't like that it still creates the Events channel automatically on non-Windows OSes, but it the safest option.

Cheers,

Andreas

@neagix
Copy link
Owner

neagix commented Aug 6, 2013

are some of these commits already merged?

@asig
Copy link
Author

asig commented Aug 7, 2013

ah, crap, only the first 2 commits (e63b3aa and f454386) are safe to merged. apparently, i forgot to create a branch... still not used to git :-(

@neagix
Copy link
Owner

neagix commented Aug 8, 2013

no worries, I am not an expert as well :)

I will review those 2, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants