diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-06-12 12:53:31 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-18 21:58:30 +0200 |
commit | 3c8eb404877df9c967d81fa9df7d718c538fb407 (patch) | |
tree | 05ec2c6b9da5cdef42d7f2d61a532bc210e1472e /src/gui/kernel/qguiapplication_p.h | |
parent | abe4b3171379c1c0364cbedcbed7021267f66b3a (diff) |
xcb: ensure the primary screen is added first
Currently, Qt windows without an explicit screen parameter always appear
on screen 0 despite the DISPLAY being set to :0.1. With this change,
the xcb backend adds the primary display at the beginning of the
screen list. QGuiApplication::primaryScreen() will then return that
display for all windows without an explicit screen.
Change-Id: I657c4ed92b9e0f0ed379e91c732dad9d69c4f5e0
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
0 files changed, 0 insertions, 0 deletions