Allow changing of the output geometry
authorLasse Holmstedt <lasse.holmstedt@nokia.com>
Tue, 6 Sep 2011 14:49:03 +0000 (16:49 +0200)
committerLasse Holmstedt <lasse.holmstedt@nokia.com>
Wed, 7 Sep 2011 12:18:29 +0000 (14:18 +0200)
commite47eb9057bf08834885ba6ef5e593d6f1844405c
tree81daa330393523e1eefe71de07649ba5e2ec1411
parentefc2ae9caf3a722a676ba6d93b5356ebcd682be8
Allow changing of the output geometry

If you are building a compositor that does not provide the same
composition area as the desktop resolution, you can now change the
geometry to match the area that your compositor is going to render.

You must set the geometry to desired value before clients connect.

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/qt-compositor/compositor_api/waylandcompositor.cpp
src/qt-compositor/compositor_api/waylandcompositor.h
src/qt-compositor/wayland_wrapper/wlcompositor.cpp
src/qt-compositor/wayland_wrapper/wlcompositor.h
src/qt-compositor/wayland_wrapper/wloutput.cpp
src/qt-compositor/wayland_wrapper/wloutput.h