Mac users (w/Mac keyboard) cannot delete in ui [patch provided]

Bug #1094352 reported by Julio on 2012-12-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
Unassigned

Bug Description

(stratagus rev. 8542)

Submitted for your approval:
A patch for ui/interface.cpp which allows Mac users with only a Delete key (and no backspace key) to properly use the ui:

870a871,873
> #ifdef USE_MAC
> case SDLK_DELETE:
> #endif

Thank you,
Julio

Related branches

Joris Dauphin (joris-dauphin) wrote :

Patch applied.

With a quick search, it seems that backspace/delete are produced by (fn +) delete on Mac.
Do you know how to differenciate that with SDLK_ ?

Julio (artofwar) wrote :

Sorry, not a clue what SDLK_ for (fn +) delete on Mac.

Thanks for applying the patch.

Changed in stratagus:
status: New → Fix Committed
cybermind (iddqd-mail) on 2015-03-19
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers