| 215 | } |
| 216 | |
| 217 | void Window::setOffset(const int x, const int y) |
| 218 | { |
| 219 | // do not call this for embed windows! |
| 220 | DISTRHO_SAFE_ASSERT_RETURN(!pData->isEmbed,); |
| 221 | |
| 222 | if (pData->view != nullptr) |
| 223 | puglSetPositionHint(pData->view, PUGL_CURRENT_POSITION, x, y); |
| 224 | } |
| 225 | |
| 226 | void Window::setOffset(const Point<int>& offset) |
| 227 | { |