qt6-bb10/src/platformheaders/xcbfunctions
Alexander Volkov 556221d97b QSystemTrayIcon/X11: Move platform-specific calls to the xcb plugin
- Detect the tray icon window in the platform plugin by the object
  name. This way we don't need
  QXcbWindowFunctions::requestSystemTrayWindowDockIdentifier().

- Get rid of unused calls
  QXcbIntegrationFunctions::xEmbedSystemTrayVisualHasAlphaChannel()
  and QXcbWindowFunctions::setParentRelativeBackPixmap().

- Mark the tray icon window as embedded to be able to get the correct
  result from QWindow::mapToGlobal(). It allows to drop
  QXcbWindowFunctions::systemTrayWindowGlobalGeometry().

This change allows to remove the intermediate level between
the QSystemTrayIconSys widget and the xcb plugin. The code looks
clearer.

Change-Id: I7d067131287a6dec162b36f0bddc8cb518aaa38c
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
2018-07-10 20:04:09 +00:00
..
qxcbscreenfunctions.h XCB: Replace LGPL21 with LGPL license header 2017-02-28 15:34:58 +00:00
qxcbwindowfunctions.h QSystemTrayIcon/X11: Move platform-specific calls to the xcb plugin 2018-07-10 20:04:09 +00:00
qxcbwindowfunctions.qdoc QSystemTrayIcon/X11: Move platform-specific calls to the xcb plugin 2018-07-10 20:04:09 +00:00
xcbfunctions.pri QSystemTrayIcon/X11: Move platform-specific calls to the xcb plugin 2018-07-10 20:04:09 +00:00