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

Function X11_mark_synch

win/X11/winX.c:1358–1373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1356}
1357
1358void
1359X11_mark_synch(void)
1360{
1361 if (x_inited) {
1362 /*
1363 * The window document is unclear about the status of text
1364 * that has been pline()d but not displayed w/display_nhwindow().
1365 * Both the main and tty code assume that a pline() followed
1366 * by mark_synch() results in the text being seen, even if
1367 * display_nhwindow() wasn't called. Duplicate this behavior.
1368 */
1369 if (WIN_MESSAGE != WIN_ERR)
1370 display_message_window(&window_list[WIN_MESSAGE]);
1371 XSync(XtDisplay(toplevel), False);
1372 }
1373}
1374
1375void
1376X11_wait_synch(void)

Callers 1

X11_wait_synchFunction · 0.85

Calls 1

display_message_windowFunction · 0.85

Tested by

no test coverage detected