MCPcopy Create free account
hub / github.com/NetHack/NetHack / X11_ctrl_nhwindow

Function X11_ctrl_nhwindow

win/X11/winX.c:1312–1332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310}
1311
1312win_request_info *
1313X11_ctrl_nhwindow(
1314 winid window UNUSED,
1315 int request UNUSED,
1316 win_request_info *wri UNUSED)
1317{
1318 if (!wri)
1319 return (win_request_info *) 0;
1320
1321 switch(request) {
1322 case set_mode:
1323 case request_settings:
1324 break;
1325 case set_menu_promptstyle:
1326 X11_menu_promptstyle = wri->fromcore.menu_promptstyle;
1327 break;
1328 default:
1329 break;
1330 }
1331 return wri;
1332}
1333
1334/* The current implementation has all of the saved lines on the screen. */
1335int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected