summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2015-03-18 18:42:01 +0300
committerShawn Rutledge <shawn.rutledge@digia.com>2015-03-27 10:03:02 +0000
commita73cead0e0ffe674d0c873a726d2535ba60d9614 (patch)
tree21343ba88cd4d32e839ae72c34fa02bbb1eee2f3 /tools
parentf381ad63a2d51033272c72f3a816fcfe9de000e7 (diff)
xcb: Speed up screens' initialization
Use RRGetScreenResourcesCurrent to get the screen's outputs. It is fast but it may return nothing if the configuration is not initialized wrt to the hardware. Call RRGetScreenResources in this case to get the up-to-date configuration. Task-number: QTBUG-40207 Change-Id: I84dc8a45b89d0bf8881a72b02e81f701637cdb6a Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Daniel Vrátil <dvratil@redhat.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions