Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/windowed/x11windowed_backend.cpp
Show First 20 Lines • Show All 528 Lines • ▼ Show 20 Line(s) | |||||
529 | xcb_window_t X11WindowedBackend::windowForScreen(int screen) const | 529 | xcb_window_t X11WindowedBackend::windowForScreen(int screen) const | ||
530 | { | 530 | { | ||
531 | if (screen > m_outputs.count()) { | 531 | if (screen > m_outputs.count()) { | ||
532 | return XCB_WINDOW_NONE; | 532 | return XCB_WINDOW_NONE; | ||
533 | } | 533 | } | ||
534 | return m_outputs.at(screen)->window(); | 534 | return m_outputs.at(screen)->window(); | ||
535 | } | 535 | } | ||
536 | 536 | | |||
537 | Outputs X11WindowedBackend::outputs() const | 537 | QVector<AbstractOutput *> X11WindowedBackend::outputs() const | ||
538 | { | 538 | { | ||
539 | return m_outputs; | 539 | return vector_cast<AbstractOutput *>(m_outputs); | ||
540 | } | 540 | } | ||
541 | 541 | | |||
542 | Outputs X11WindowedBackend::enabledOutputs() const | 542 | QVector<AbstractOutput *> X11WindowedBackend::enabledOutputs() const | ||
543 | { | 543 | { | ||
544 | return m_outputs; | 544 | return vector_cast<AbstractOutput *>(m_outputs); | ||
545 | } | 545 | } | ||
546 | 546 | | |||
547 | } | 547 | } |