| 2103 | } |
| 2104 | |
| 2105 | Window *Node::get_window() const { |
| 2106 | ERR_THREAD_GUARD_V(nullptr); |
| 2107 | Viewport *vp = get_viewport(); |
| 2108 | if (vp) { |
| 2109 | return vp->get_base_window(); |
| 2110 | } |
| 2111 | return nullptr; |
| 2112 | } |
| 2113 | |
| 2114 | Window *Node::get_non_popup_window() const { |
| 2115 | Window *w = get_window(); |
no test coverage detected