Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make +mice+ a hash table.#13

Open
lonjil wants to merge 1 commit into
cbaggers:masterfrom
lonjil:lonjil-patch1
Open

Make +mice+ a hash table.#13
lonjil wants to merge 1 commit into
cbaggers:masterfrom
lonjil:lonjil-patch1

Conversation

@lonjil

@lonjil lonjil commented Feb 29, 2020

Copy link
Copy Markdown

My laptop's touchscreen apparently gets assigned mouse ID 2^32-1, which causes a very large allocation if I accidentally touch my CEPL window. I'm not sure if this change is appropriate for merging, if not I'll just use it locally, but I figured I'd put it here.

@lonjil

lonjil commented Feb 29, 2020

Copy link
Copy Markdown
Author

I just saw that there is an issue open about this already. (#12) This change could serve as a stopgap until SDL_TouchFingerEvent is implemented. (Or, since I now know that this ID is very special, just add a special case variable to hold a potential touchscreen and keep the array for everything else.)

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.

1 participant