summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbdrag.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2014-10-23 16:02:31 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-10-29 09:39:31 +0100
commit6c38a82aa8165bbe3cbdc7f17e67999439842c29 (patch)
tree403211ec68447afe4c5dfb1dce06d89bf18600f0 /src/plugins/platforms/xcb/qxcbdrag.cpp
parent14e51127cf2ba4fdb3469da90fd2f8f26084bb4b (diff)
Cocoa: Send obscure events on OcclusionStateHidden
This disables animations for windows that are completely obscured by other windows. On examples/quick/animation, obscured CPU usage goes from 10% to 1%. There has been reports of 100% CPU usage with Qt before this patch. Change-Id: Iefea43ed8c1cfaa2df13f1f5a4e4450146ade522 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.cpp')
0 files changed, 0 insertions, 0 deletions