XCB: Fix moveToScreen to use QWindow instead of QWidget.
parent
2d26fda6e1
commit
0064dc7bc8
|
|
@ -103,7 +103,7 @@ QList<QPlatformScreen *> QXcbIntegration::screens() const
|
|||
return m_screens;
|
||||
}
|
||||
|
||||
void QXcbIntegration::moveToScreen(QWidget *window, int screen)
|
||||
void QXcbIntegration::moveToScreen(QWindow *window, int screen)
|
||||
{
|
||||
Q_UNUSED(window);
|
||||
Q_UNUSED(screen);
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public:
|
|||
QWindowSurface *createWindowSurface(QWindow *window, WId winId) const;
|
||||
|
||||
QList<QPlatformScreen *> screens() const;
|
||||
void moveToScreen(QWidget *window, int screen);
|
||||
void moveToScreen(QWindow *window, int screen);
|
||||
bool isVirtualDesktop();
|
||||
QPixmap grabWindow(WId window, int x, int y, int width, int height) const;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue