Skip to content
Snippets Groups Projects
Commit 8ea0a82a authored by Karim Pinter's avatar Karim Pinter Committed by Gatis Paeglis
Browse files

xcb: make beep work


Adding xcb_flush after xcb_bell makes it work, no need to move the
mouse.

Fixes: QTBUG-75617
Change-Id: Ieeb47468bf31cfa6fcf2d48da56d54b9e6eac6fe
Reviewed-by: default avatarGatis Paeglis <gatis.paeglis@qt.io>
parent 837c80ba
Branches
Tags
No related merge requests found
......@@ -550,6 +550,7 @@ void QXcbIntegration::beep() const
return;
xcb_connection_t *connection = static_cast<QXcbScreen *>(screen)->xcb_connection();
xcb_bell(connection, 0);
xcb_flush(connection);
}
bool QXcbIntegration::nativePaintingEnabled() const
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment