| 381 | } |
| 382 | |
| 383 | void XWindow::screenToWindow(S32& x, S32& y) { |
| 384 | XWindowPtr p = shared_from_this(); |
| 385 | |
| 386 | while (p) { |
| 387 | x -= p->left; |
| 388 | y -= p->top; |
| 389 | p = p->parent; |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | void XWindow::setTextProperty(KThread* thread, XTextProperty* name, Atom property, bool trace) { |
| 394 | setProperty(property, name->encoding, name->format, name->byteLen(thread->memory), name->value); |
no outgoing calls
no test coverage detected