summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.cpp
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2015-10-27 15:08:41 +0300
committerGatis Paeglis <gatis.paeglis@qt.io>2018-07-10 20:03:53 +0000
commit5cf6f51b4c73cb1309279aa42d828097b24aa119 (patch)
treec5ecc96c74ba59d62c623fc096abacaa11113aad /src/plugins/platforms/xcb/qxcbconnection.cpp
parentd743df975db3403ec83d67bd376d8a6bfea3dfb0 (diff)
xcb: Fix artifacts on the tray background with lock screens
With the current method of painting the tray icon with 24 bpp visuals we grab the window's background once on the first show and then use it in all paint operations. This leads to a wrong background if an application shows the system tray icon when the lock screen is active. We can avoid this by painting with XRender when it's available. This change introduces QXcbSystemTrayBackingStore and moves the selection of a suitable painting method from QSystemTrayIconSys into it. In addition the visual for the window is selected according to the system tray specification and the platform window for the tray icon is created without needless OpenGL and Vulkan support. Task-number: QTBUG-55540 Change-Id: Ib3ca42bc02dcbdd4ccfe5d6e23f870ef22f0d25a Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.cpp')
0 files changed, 0 insertions, 0 deletions