• Home
  • Raw
  • Download

Lines Matching refs:atom

272 get_atom_name(xcb_connection_t *c, xcb_atom_t atom)  in get_atom_name()  argument
279 if (atom == XCB_ATOM_NONE) in get_atom_name()
282 cookie = xcb_get_atom_name (c, atom); in get_atom_name()
290 snprintf(buffer, sizeof buffer, "(atom %u)", atom); in get_atom_name()
442 if (reply->type == wm->atom.incr) { in dump_property()
445 } else if (reply->type == wm->atom.utf8_string || in dump_property()
446 reply->type == wm->atom.string) { in dump_property()
510 xcb_atom_t atom; in weston_wm_window_read_properties() member
517 { wm->atom.wm_protocols, TYPE_WM_PROTOCOLS, NULL }, in weston_wm_window_read_properties()
518 { wm->atom.wm_normal_hints, TYPE_WM_NORMAL_HINTS, NULL }, in weston_wm_window_read_properties()
519 { wm->atom.net_wm_state, TYPE_NET_WM_STATE, NULL }, in weston_wm_window_read_properties()
520 { wm->atom.net_wm_window_type, XCB_ATOM_ATOM, F(type) }, in weston_wm_window_read_properties()
521 { wm->atom.net_wm_name, XCB_ATOM_STRING, F(name) }, in weston_wm_window_read_properties()
522 { wm->atom.net_wm_pid, XCB_ATOM_CARDINAL, F(pid) }, in weston_wm_window_read_properties()
523 { wm->atom.motif_wm_hints, TYPE_MOTIF_WM_HINTS, NULL }, in weston_wm_window_read_properties()
524 { wm->atom.wm_client_machine, XCB_ATOM_WM_CLIENT_MACHINE, F(machine) }, in weston_wm_window_read_properties()
532 xcb_atom_t *atom; in weston_wm_window_read_properties() local
544 props[i].atom, in weston_wm_window_read_properties()
585 atom = xcb_get_property_value(reply); in weston_wm_window_read_properties()
586 *(xcb_atom_t *) p = *atom; in weston_wm_window_read_properties()
589 atom = xcb_get_property_value(reply); in weston_wm_window_read_properties()
591 if (atom[i] == wm->atom.wm_delete_window) { in weston_wm_window_read_properties()
603 atom = xcb_get_property_value(reply); in weston_wm_window_read_properties()
605 if (atom[i] == wm->atom.net_wm_state_fullscreen) in weston_wm_window_read_properties()
607 if (atom[i] == wm->atom.net_wm_state_maximized_vert) in weston_wm_window_read_properties()
609 if (atom[i] == wm->atom.net_wm_state_maximized_horz) in weston_wm_window_read_properties()
930 client_message.type = wm->atom.wm_protocols; in weston_wm_send_focus_window()
931 client_message.data.data32[0] = wm->atom.wm_take_focus; in weston_wm_send_focus_window()
1018 wm->atom.allow_commits, in weston_wm_window_set_allow_commits()
1041 wm->atom.wm_state, in weston_wm_window_set_wm_state()
1042 wm->atom.wm_state, in weston_wm_window_set_wm_state()
1056 property[i++] = wm->atom.net_wm_state_fullscreen; in weston_wm_window_set_net_wm_state()
1058 property[i++] = wm->atom.net_wm_state_maximized_vert; in weston_wm_window_set_net_wm_state()
1060 property[i++] = wm->atom.net_wm_state_maximized_horz; in weston_wm_window_set_net_wm_state()
1065 wm->atom.net_wm_state, in weston_wm_window_set_net_wm_state()
1149 window->wm->atom.net_wm_desktop, in weston_wm_window_set_virtual_desktop()
1156 window->wm->atom.net_wm_desktop); in weston_wm_window_set_virtual_desktop()
1460 get_atom_name(wm->conn, property_notify->atom)); in weston_wm_handle_property_notify()
1463 property_notify->atom); in weston_wm_handle_property_notify()
1474 get_atom_name(wm->conn, property_notify->atom); in weston_wm_handle_property_notify()
1477 if (property_notify->atom == wm->atom.net_wm_name || in weston_wm_handle_property_notify()
1478 property_notify->atom == XCB_ATOM_WM_NAME) in weston_wm_handle_property_notify()
1777 if ((property1 == wm->atom.net_wm_state_fullscreen || in weston_wm_window_handle_state()
1778 property2 == wm->atom.net_wm_state_fullscreen) && in weston_wm_window_handle_state()
1793 if ((property1 == wm->atom.net_wm_state_maximized_vert || in weston_wm_window_handle_state()
1794 property2 == wm->atom.net_wm_state_maximized_vert) && in weston_wm_window_handle_state()
1797 if ((property1 == wm->atom.net_wm_state_maximized_horz || in weston_wm_window_handle_state()
1798 property2 == wm->atom.net_wm_state_maximized_horz) && in weston_wm_window_handle_state()
1887 if (client_message->type == wm->atom.net_wm_moveresize) in weston_wm_handle_client_message()
1889 else if (client_message->type == wm->atom.net_wm_state) in weston_wm_handle_client_message()
1891 else if (client_message->type == wm->atom.wl_surface_id) in weston_wm_handle_client_message()
2069 client_message.type = window->wm->atom.wm_protocols; in weston_wm_window_close()
2071 window->wm->atom.wm_delete_window; in weston_wm_window_close()
2337 wm->screen->root, wm->atom.net_active_window, in weston_wm_set_net_active_window()
2338 wm->atom.window, 32, 1, &window); in weston_wm_set_net_active_window()
2378 { "WM_PROTOCOLS", F(atom.wm_protocols) }, in weston_wm_get_resources()
2379 { "WM_NORMAL_HINTS", F(atom.wm_normal_hints) }, in weston_wm_get_resources()
2380 { "WM_TAKE_FOCUS", F(atom.wm_take_focus) }, in weston_wm_get_resources()
2381 { "WM_DELETE_WINDOW", F(atom.wm_delete_window) }, in weston_wm_get_resources()
2382 { "WM_STATE", F(atom.wm_state) }, in weston_wm_get_resources()
2383 { "WM_S0", F(atom.wm_s0) }, in weston_wm_get_resources()
2384 { "WM_CLIENT_MACHINE", F(atom.wm_client_machine) }, in weston_wm_get_resources()
2385 { "_NET_WM_CM_S0", F(atom.net_wm_cm_s0) }, in weston_wm_get_resources()
2386 { "_NET_WM_NAME", F(atom.net_wm_name) }, in weston_wm_get_resources()
2387 { "_NET_WM_PID", F(atom.net_wm_pid) }, in weston_wm_get_resources()
2388 { "_NET_WM_ICON", F(atom.net_wm_icon) }, in weston_wm_get_resources()
2389 { "_NET_WM_STATE", F(atom.net_wm_state) }, in weston_wm_get_resources()
2390 { "_NET_WM_STATE_MAXIMIZED_VERT", F(atom.net_wm_state_maximized_vert) }, in weston_wm_get_resources()
2391 { "_NET_WM_STATE_MAXIMIZED_HORZ", F(atom.net_wm_state_maximized_horz) }, in weston_wm_get_resources()
2392 { "_NET_WM_STATE_FULLSCREEN", F(atom.net_wm_state_fullscreen) }, in weston_wm_get_resources()
2393 { "_NET_WM_USER_TIME", F(atom.net_wm_user_time) }, in weston_wm_get_resources()
2394 { "_NET_WM_ICON_NAME", F(atom.net_wm_icon_name) }, in weston_wm_get_resources()
2395 { "_NET_WM_DESKTOP", F(atom.net_wm_desktop) }, in weston_wm_get_resources()
2396 { "_NET_WM_WINDOW_TYPE", F(atom.net_wm_window_type) }, in weston_wm_get_resources()
2398 { "_NET_WM_WINDOW_TYPE_DESKTOP", F(atom.net_wm_window_type_desktop) }, in weston_wm_get_resources()
2399 { "_NET_WM_WINDOW_TYPE_DOCK", F(atom.net_wm_window_type_dock) }, in weston_wm_get_resources()
2400 { "_NET_WM_WINDOW_TYPE_TOOLBAR", F(atom.net_wm_window_type_toolbar) }, in weston_wm_get_resources()
2401 { "_NET_WM_WINDOW_TYPE_MENU", F(atom.net_wm_window_type_menu) }, in weston_wm_get_resources()
2402 { "_NET_WM_WINDOW_TYPE_UTILITY", F(atom.net_wm_window_type_utility) }, in weston_wm_get_resources()
2403 { "_NET_WM_WINDOW_TYPE_SPLASH", F(atom.net_wm_window_type_splash) }, in weston_wm_get_resources()
2404 { "_NET_WM_WINDOW_TYPE_DIALOG", F(atom.net_wm_window_type_dialog) }, in weston_wm_get_resources()
2405 { "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU", F(atom.net_wm_window_type_dropdown) }, in weston_wm_get_resources()
2406 { "_NET_WM_WINDOW_TYPE_POPUP_MENU", F(atom.net_wm_window_type_popup) }, in weston_wm_get_resources()
2407 { "_NET_WM_WINDOW_TYPE_TOOLTIP", F(atom.net_wm_window_type_tooltip) }, in weston_wm_get_resources()
2408 { "_NET_WM_WINDOW_TYPE_NOTIFICATION", F(atom.net_wm_window_type_notification) }, in weston_wm_get_resources()
2409 { "_NET_WM_WINDOW_TYPE_COMBO", F(atom.net_wm_window_type_combo) }, in weston_wm_get_resources()
2410 { "_NET_WM_WINDOW_TYPE_DND", F(atom.net_wm_window_type_dnd) }, in weston_wm_get_resources()
2411 { "_NET_WM_WINDOW_TYPE_NORMAL", F(atom.net_wm_window_type_normal) }, in weston_wm_get_resources()
2413 { "_NET_WM_MOVERESIZE", F(atom.net_wm_moveresize) }, in weston_wm_get_resources()
2415 F(atom.net_supporting_wm_check) }, in weston_wm_get_resources()
2416 { "_NET_SUPPORTED", F(atom.net_supported) }, in weston_wm_get_resources()
2417 { "_NET_ACTIVE_WINDOW", F(atom.net_active_window) }, in weston_wm_get_resources()
2418 { "_MOTIF_WM_HINTS", F(atom.motif_wm_hints) }, in weston_wm_get_resources()
2419 { "CLIPBOARD", F(atom.clipboard) }, in weston_wm_get_resources()
2420 { "CLIPBOARD_MANAGER", F(atom.clipboard_manager) }, in weston_wm_get_resources()
2421 { "TARGETS", F(atom.targets) }, in weston_wm_get_resources()
2422 { "UTF8_STRING", F(atom.utf8_string) }, in weston_wm_get_resources()
2423 { "_WL_SELECTION", F(atom.wl_selection) }, in weston_wm_get_resources()
2424 { "INCR", F(atom.incr) }, in weston_wm_get_resources()
2425 { "TIMESTAMP", F(atom.timestamp) }, in weston_wm_get_resources()
2426 { "MULTIPLE", F(atom.multiple) }, in weston_wm_get_resources()
2427 { "UTF8_STRING" , F(atom.utf8_string) }, in weston_wm_get_resources()
2428 { "COMPOUND_TEXT", F(atom.compound_text) }, in weston_wm_get_resources()
2429 { "TEXT", F(atom.text) }, in weston_wm_get_resources()
2430 { "STRING", F(atom.string) }, in weston_wm_get_resources()
2431 { "WINDOW", F(atom.window) }, in weston_wm_get_resources()
2432 { "text/plain;charset=utf-8", F(atom.text_plain_utf8) }, in weston_wm_get_resources()
2433 { "text/plain", F(atom.text_plain) }, in weston_wm_get_resources()
2434 { "XdndSelection", F(atom.xdnd_selection) }, in weston_wm_get_resources()
2435 { "XdndAware", F(atom.xdnd_aware) }, in weston_wm_get_resources()
2436 { "XdndEnter", F(atom.xdnd_enter) }, in weston_wm_get_resources()
2437 { "XdndLeave", F(atom.xdnd_leave) }, in weston_wm_get_resources()
2438 { "XdndDrop", F(atom.xdnd_drop) }, in weston_wm_get_resources()
2439 { "XdndStatus", F(atom.xdnd_status) }, in weston_wm_get_resources()
2440 { "XdndFinished", F(atom.xdnd_finished) }, in weston_wm_get_resources()
2441 { "XdndTypeList", F(atom.xdnd_type_list) }, in weston_wm_get_resources()
2442 { "XdndActionCopy", F(atom.xdnd_action_copy) }, in weston_wm_get_resources()
2443 { "_XWAYLAND_ALLOW_COMMITS", F(atom.allow_commits) }, in weston_wm_get_resources()
2444 { "WL_SURFACE_ID", F(atom.wl_surface_id) } in weston_wm_get_resources()
2469 *(xcb_atom_t *) ((char *) wm + atoms[i].offset) = reply->atom; in weston_wm_get_resources()
2531 wm->atom.net_supporting_wm_check, in weston_wm_create_wm_window()
2539 wm->atom.net_wm_name, in weston_wm_create_wm_window()
2540 wm->atom.utf8_string, in weston_wm_create_wm_window()
2547 wm->atom.net_supporting_wm_check, in weston_wm_create_wm_window()
2556 wm->atom.wm_s0, in weston_wm_create_wm_window()
2561 wm->atom.net_wm_cm_s0, in weston_wm_create_wm_window()
2620 supported[0] = wm->atom.net_wm_moveresize; in weston_wm_create()
2621 supported[1] = wm->atom.net_wm_state; in weston_wm_create()
2622 supported[2] = wm->atom.net_wm_state_fullscreen; in weston_wm_create()
2623 supported[3] = wm->atom.net_wm_state_maximized_vert; in weston_wm_create()
2624 supported[4] = wm->atom.net_wm_state_maximized_horz; in weston_wm_create()
2625 supported[5] = wm->atom.net_active_window; in weston_wm_create()
2629 wm->atom.net_supported, in weston_wm_create()
2874 return window->type == wm->atom.net_wm_window_type_tooltip || in weston_wm_window_type_inactive()
2875 window->type == wm->atom.net_wm_window_type_dropdown || in weston_wm_window_type_inactive()
2876 window->type == wm->atom.net_wm_window_type_dnd || in weston_wm_window_type_inactive()
2877 window->type == wm->atom.net_wm_window_type_combo || in weston_wm_window_type_inactive()
2878 window->type == wm->atom.net_wm_window_type_popup || in weston_wm_window_type_inactive()
2879 window->type == wm->atom.net_wm_window_type_utility; in weston_wm_window_type_inactive()