Properly initialize window properties in xcb plugin.

Since 833090abb9 these need to be called manually.

Change-Id: Iabc263d499e724d4d39c3d8350563feb57749879
Reviewed-on: http://codereview.qt.nokia.com/2704
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
bb10
Samuel Rødal 2011-08-05 16:32:56 +02:00 committed by Jørgen Lind
parent ca1ad7e9a5
commit e09d427baf
1 changed files with 3 additions and 2 deletions

View File

@ -276,8 +276,9 @@ void QXcbWindow::create()
atom(QXcbAtom::WM_CLIENT_LEADER), XCB_ATOM_WINDOW, 32,
1, &leader));
if (wasCreated)
setWindowFlags(window()->windowFlags());
setWindowFlags(window()->windowFlags());
setWindowTitle(window()->windowTitle());
setWindowState(window()->windowState());
connection()->drag()->dndEnable(this, true);
}