xcb: remove a redundant call to xcb_change_window_attributes()

Few lines above we use the same attributes to create the window.
If attributes don't change, there is not need to call
xcb_change_window_attributes()

Change-Id: I1335b8be866bdd9911d7911c87f09091bf77e955
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Gatis Paeglis 2018-08-11 16:55:47 +02:00 committed by Shawn Rutledge
parent f79cb977e6
commit 279edd5254

View File

@ -437,8 +437,6 @@ void QXcbWindow::create()
connection()->addWindowEventListener(m_window, this);
xcb_change_window_attributes(xcb_connection(), m_window, mask, values);
propagateSizeHints();
xcb_atom_t properties[5];