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

Bug #1094352 reported by Julio
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

Revision history for this message
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_ ?

Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.