X11 (xcb) support for QScreen-per-output and runtime changes
authorShawn Rutledge <shawn.rutledge@nokia.com>
Wed, 5 Sep 2012 11:44:44 +0000 (13:44 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 18 Sep 2012 12:12:27 +0000 (14:12 +0200)
commitbeab941e1fc11c8fe0914c6a3207ba029eb96112
treed8e7a2a56130edbfeef1a6790013815fe99106e5
parent5ea896fbc63593f424a7dfbb11387599c0025c74
X11 (xcb) support for QScreen-per-output and runtime changes

QScreen has notifiers for its properties, but they were not being
emitted when one changes the resolution or arrangement of individual
outputs, e.g. via xrandr.  Also there should be one QScreen per
"output", e.g. laptop LCD + external monitor means 2 QScreens
which will be siblings, rather than just 1 QScreen to represent
the whole desktop.

Change-Id: Ia61bbc5e6a3506f813ab11f87c03d14cf7f4ce85
Reviewed-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/kernel/qscreen.cpp
src/gui/kernel/qscreen.h
src/plugins/platforms/xcb/qxcbconnection.cpp
src/plugins/platforms/xcb/qxcbconnection.h
src/plugins/platforms/xcb/qxcbscreen.cpp
src/plugins/platforms/xcb/qxcbscreen.h