#7980 closed patch
Fix newgui double keydown event
Reported by: | (none) | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
This is a fix for newgui, which would from time to time (randomly) recieve a double keydown event.
That keydown event was actually a keyup event (!), but because of sdl.cpp OSystem::poll_event not filling the event struct for the keyup event (!?) this was misbehaving.
Patch also reintroduces EVENT_KEYUP, and enables handling of said event in newgui.cpp.
/painelf
Ticket imported from: #582286. Ticket imported from: patches/85.
Attachments (1)
Change History (4)
by , 22 years ago
Attachment: | event_keyup.diff added |
---|
comment:1 by , 22 years ago
comment:2 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → GUI |
---|
Note:
See TracTickets
for help on using tickets.
Whoops, disregard changes to gameDetector.cpp :)