nodes_data::~nodes_data() { #ifndef NO_SERVER for (auto it = nodes.begin(); it != nodes.end(); ++it) dnet_set_need_exit(it->get_native()); #endif // NO_SERVER }
static void show_window(struct piglit_winsys_framework *winsys_fw) { struct piglit_x11_framework *x11_fw = piglit_x11_framework(&winsys_fw->wfl_fw.gl_fw); struct piglit_wfl_framework *wfl_fw = &winsys_fw->wfl_fw; XWMHints *wm_hints; get_native(x11_fw); if (piglit_automatic) { /* Prevent the window from grabbing input. */ wm_hints = XAllocWMHints(); wm_hints->flags |= InputHint; wm_hints->input = False; XSetWMHints(x11_fw->display, x11_fw->window, wm_hints); XFree(wm_hints); } waffle_window_show(wfl_fw->window); }