Opened 17 years ago

Closed 17 years ago

Last modified 13 months ago

#7980 closed patch

Fix newgui double keydown event

Reported by: (none) Owned by: fingolfin
Priority: normal Component: GUI
Keywords: Cc:


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

Patch also reintroduces EVENT_KEYUP, and enables
handling of said event in newgui.cpp.


Ticket imported from: #582286. Ticket imported from: patches/85.

Attachments (1)

event_keyup.diff (3.0 KB ) - added by (none) 17 years ago.

Download all attachments as: .zip

Change History (4)

by (none), 17 years ago

Attachment: event_keyup.diff added

comment:1 by SF/painelf, 17 years ago

Whoops, disregard changes to gameDetector.cpp :)

comment:2 by fingolfin, 17 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 13 months ago

Component: GUI
Note: See TracTickets for help on using tickets.