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:
parent
f79cb977e6
commit
279edd5254
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user