| 101 | } |
| 102 | |
| 103 | static inline wlr_surface *wlr_surface_from_node(wf::scene::node_ptr node) |
| 104 | { |
| 105 | if (auto snode = dynamic_cast<wf::scene::wlr_surface_node_t*>(node.get())) |
| 106 | { |
| 107 | return snode->get_surface(); |
| 108 | } |
| 109 | |
| 110 | return nullptr; |
| 111 | } |
| 112 | |
| 113 | void wf::tablet_tool_t::update_tool_position(bool real_update) |
| 114 | { |
no test coverage detected