summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorLeo Franchi <lfranchi@dropbox.com>2014-07-01 17:36:15 +0200
committerLeonardo Franchi <lfranchi@dropbox.com>2014-07-04 15:32:45 +0200
commit0eefa785a0d8bfe96403f9c13e80544cf8bb8eb3 (patch)
tree738be91ded23632a42cea8af102978fa60e1a06e /util
parent6577ac381e73b2ce3d57d2e8a39edb424ce9a52d (diff)
Support transparency in qt5 system tray icons, regardless of tray visual
This ports the Qt4 method of supporting the system tray window visual that has an alpha channel as well as ones that do not. We detect whether or not we have a 32-bit format and either use a Qt::transparent background, or call xcb_clear_region before painting the icon. [ChangeLog][Linux/XCB] Fix transparency of tray icons in cases where there is no alpha channel or system tray visual. Task-number: QTBUG-35832 Change-Id: I43d500c39846d2916dd39f8c47c8d85e59b49cae Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions