diff options
author | Karim Pinter <karim.pinter@qt.io> | 2019-05-06 15:09:48 +0300 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2019-05-06 16:12:40 +0000 |
commit | 8ea0a82a6a771dd76df2d51c6ef3ed966a5b9b45 (patch) | |
tree | 06f9f11c116b7ff38fad22990cfbeb7296c21b62 | |
parent | 837c80bad3242ee9a6e73fda9adf9cfbeb8dd9fe (diff) |
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: Gatis Paeglis <gatis.paeglis@qt.io>
-rw-r--r-- | src/plugins/platforms/xcb/qxcbintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp index a70c7db923..95ca40fc95 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.cpp +++ b/src/plugins/platforms/xcb/qxcbintegration.cpp @@ -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 |