Ryan C. Gordon
6472e36264
x11: Minor cleanup in new mouse cursor selection code.
...
- Move legacy name choice to a separate function, so we can `return` a
string in one line instead of assign a variable and `break` for each item.
- Have the case statement cover SDL_NUM_SYSTEM_CURSORS, and not `default`, so
compiler will (maybe) warn us if an enum value is added but not included
here.
- Only choose a legacy name if necessary.
(cherry picked from commit df00a7dd4c3deb03839e799187a3c75fc4e8854b)
2024-02-16 08:44:29 -05:00
..
2024-01-24 01:40:51 +00:00
2024-02-15 14:13:26 -05:00
2024-02-15 20:55:02 +03:00
2024-01-24 21:20:50 +03:00
2024-02-13 12:06:51 -05:00
2024-02-11 08:27:56 -08:00
2024-01-28 02:22:00 +03:00
2024-02-12 19:51:48 -08:00
2024-02-12 09:54:33 -08:00
2024-02-13 12:06:51 -05:00
2024-02-12 11:18:11 -08:00
2024-01-24 01:40:51 +00:00
2024-01-24 01:40:51 +00:00
2024-01-01 13:15:26 -08:00
2024-01-24 01:40:51 +00:00
2024-01-27 11:07:21 -08:00
2024-01-27 11:07:21 -08:00
2024-02-15 20:55:02 +03:00
2024-01-17 09:24:04 -08:00
2024-01-24 01:40:51 +00:00
2024-02-11 08:27:56 -08:00
2024-02-12 09:54:33 -08:00
2024-01-24 01:40:51 +00:00
2024-02-16 08:44:29 -05:00
2024-01-01 13:15:26 -08:00
2024-01-24 01:40:51 +00:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-02-15 20:55:04 +03:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-27 19:30:22 -08:00
2024-02-10 08:04:27 -08:00
2024-02-11 17:29:20 +03:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-02-11 08:27:56 -08:00