Files
nethack/win/X11
nhmall f228fefabd updated window_procs
Add a non-string identifier to window_procs for use in runtime
identification of the current window port being used.

Use a macro WPID to add the identification at the top of the
various existing window_procs declarations. It expands to the
existing text string, as well as the newly added field wp_id
with a wp_ identifier.

For example, WPID(tty) expands to: "tty", wp_tty

The generated wp_tty must be present in the wp_ids enum at
the top of include/winprocs.h.

The WINDOWPORT(x) macro has been updated to expand to a simple
value comparison (port.wp_id == wp_x), instead of a
string comparison.
2022-06-29 23:21:19 -04:00
..
2018-11-11 10:29:52 -05:00
2021-01-26 21:06:16 -05:00
2002-01-05 21:06:02 +00:00
2018-11-14 17:23:28 -08:00
2018-04-25 16:54:50 -04:00
2002-01-05 21:06:03 +00:00
2020-08-09 12:36:13 -07:00
2020-08-09 12:36:13 -07:00
2002-01-05 21:06:03 +00:00
2002-01-05 21:06:03 +00:00
2015-06-09 19:59:38 +03:00
2002-01-05 21:06:03 +00:00
2021-01-26 21:06:16 -05:00
2022-05-07 10:25:13 -04:00
2021-01-26 21:06:16 -05:00
2022-04-16 01:52:12 -07:00
2022-04-06 11:18:51 -07:00
2022-01-04 22:28:16 +02:00
2021-01-26 21:06:16 -05:00
2022-06-29 23:21:19 -04:00
2022-01-28 17:28:54 +02:00