BL_RESET usage for window port status line updating

Like BL_FLUSH, only send BL_RESET if the window port has
indicated it wants them via setting the appropriate WC2
bits in its window_procs structure. Update documentation.
This commit is contained in:
nhmall
2018-09-22 22:41:02 -04:00
parent 18d56724f9
commit 21a81d0294
6 changed files with 27 additions and 4 deletions
+5 -1
View File
@@ -100,7 +100,11 @@ struct window_procs X11_procs = {
"X11",
(WC_COLOR | WC_HILITE_PET | WC_ASCII_MAP | WC_TILED_MAP
| WC_PLAYER_SELECTION | WC_PERM_INVENT | WC_MOUSE_SUPPORT),
0L, /* WC2 flag mask */
(0
#if defined(STATUS_HILITES)
| WC2_FLUSH_STATUS | WC2_RESET_STATUS
#endif
),
X11_init_nhwindows,
X11_player_selection, X11_askname, X11_get_nh_event, X11_exit_nhwindows,
X11_suspend_nhwindows, X11_resume_nhwindows, X11_create_nhwindow,