XCB plugin compile fix.

This commit is contained in:
Samuel Rødal 2011-05-04 17:01:57 +02:00
parent 6229ef2dce
commit 5c2282ffa3
2 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,7 @@
#include "../eglconvenience/qxlibeglintegration.h"
#endif
#if 0
// Returns true if we should set WM_TRANSIENT_FOR on \a w
static inline bool isTransient(const QWidget *w)
{
@ -84,6 +85,7 @@ static inline bool isTransient(const QWidget *w)
|| w->windowType() == Qt::Popup)
&& !w->testAttribute(Qt::WA_X11BypassTransientForHint));
}
#endif
QXcbWindow::QXcbWindow(QWindow *window)
: QPlatformWindow(window)

View File

@ -23,7 +23,7 @@ HEADERS = \
qxcbwindowsurface.h \
qxcbnativeinterface.h
QT += gui-private
QT += gui-private core-private
contains(QT_CONFIG, opengl) {
QT += opengl