| 165 | } |
| 166 | |
| 167 | wf::geometry_t wf::geometry_intersection(const wf::geometry_t& r1, |
| 168 | const wf::geometry_t& r2) |
| 169 | { |
| 170 | wlr_box result; |
| 171 | if (wlr_box_intersection(&result, &r1, &r2)) |
| 172 | { |
| 173 | return result; |
| 174 | } |
| 175 | |
| 176 | return {0, 0, 0, 0}; |
| 177 | } |
| 178 | |
| 179 | wf::geometry_t wf::clamp(wf::geometry_t window, wf::geometry_t output) |
| 180 | { |
nothing calls this directly
no outgoing calls
no test coverage detected