MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / get_node

Method get_node

plugins/tile/tree.cpp:503–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503nonstd::observer_ptr<view_node_t> view_node_t::get_node(wayfire_view view)
504{
505 if (!view->has_data<view_node_custom_data_t>())
506 {
507 return nullptr;
508 }
509
510 return view->get_data<view_node_custom_data_t>()->ptr;
511}
512
513/* ----------------- Generic tree operations implementation ----------------- */
514bool flatten_tree(std::unique_ptr<tree_node_t>& root)

Callers 5

send_window_toMethod · 0.45
set_keep_above_stateMethod · 0.45
resize_rootsMethod · 0.45
destroy_sublayerMethod · 0.45
detach_viewsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected