• Home
  • Raw
  • Download

Lines Matching refs:c_

87     xcb_disconnect(c_);  in ~ShellXcb()
93 c_ = xcb_connect(nullptr, &scr); in init_connection()
94 if (!c_ || xcb_connection_has_error(c_)) { in init_connection()
95 xcb_disconnect(c_); in init_connection()
99 const xcb_setup_t *setup = xcb_get_setup(c_); in init_connection()
107 win_ = xcb_generate_id(c_); in create_window()
114 …xcb_create_window(c_, XCB_COPY_FROM_PARENT, win_, scr_->root, 0, 0, settings_.initial_width, setti… in create_window()
117 xcb_intern_atom_cookie_t utf8_string_cookie = intern_atom_cookie(c_, "UTF8_STRING"); in create_window()
118 xcb_intern_atom_cookie_t _net_wm_name_cookie = intern_atom_cookie(c_, "_NET_WM_NAME"); in create_window()
119 xcb_intern_atom_cookie_t wm_protocols_cookie = intern_atom_cookie(c_, "WM_PROTOCOLS"); in create_window()
120 xcb_intern_atom_cookie_t wm_delete_window_cookie = intern_atom_cookie(c_, "WM_DELETE_WINDOW"); in create_window()
123 xcb_atom_t utf8_string = intern_atom(c_, utf8_string_cookie); in create_window()
124 xcb_atom_t _net_wm_name = intern_atom(c_, _net_wm_name_cookie); in create_window()
125 …xcb_change_property(c_, XCB_PROP_MODE_REPLACE, win_, _net_wm_name, utf8_string, 8, settings_.name.… in create_window()
129 wm_protocols_ = intern_atom(c_, wm_protocols_cookie); in create_window()
130 wm_delete_window_ = intern_atom(c_, wm_delete_window_cookie); in create_window()
131 …xcb_change_property(c_, XCB_PROP_MODE_REPLACE, win_, wm_protocols_, XCB_ATOM_ATOM, 32, 1, &wm_dele… in create_window()
162 return vk::GetPhysicalDeviceXcbPresentationSupportKHR(phy, queue_family, c_, scr_->root_visual); in can_present()
168 surface_info.connection = c_; in create_surface()
219 xcb_generic_event_t *ev = xcb_wait_for_event(c_); in loop_wait()
242 xcb_generic_event_t *ev = xcb_poll_for_event(c_); in loop_poll()
276 xcb_map_window(c_, win_); in run()
277 xcb_flush(c_); in run()
290 xcb_destroy_window(c_, win_); in run()
291 xcb_flush(c_); in run()