http://www.x.org/wiki/Projects/XRandR
it's window manager and X (xrandr)'s role and responsibility to handle multiple 
screen, application needn't care much.


-----Original Message-----
From: Ross Burton [mailto:[email protected]] 
Sent: Thursday, September 23, 2010 7:44 PM
To: Tomas Junnonen
Cc: Zhao, Halley; meego-touch-dev; meego-dev
Subject: Re: [MeeGo-dev] how to support multiple displays in MeeGo? (HDMI and 
primary display have different content)

On Thu, 2010-09-23 at 14:24 +0300, Tomas Junnonen wrote:
> The app is however not able to determine the placement of the windows 
> relative to each other, that is up to the window manager. A device with 
> multiple outputs is also not likely map these into a single virtual 
> screen, the management of the windows would be complicated. Instead I 
> would expect the two outputs to be represented as different screens in 
> X. An app can be started on a specific screen with something like 
> "DISPLAY=:2 MyApp". Unfortunately, while for instance Gtk+ allows to 
> specify the X screen when creating a window in an app, Qt apparently 
> does not.

Actually modern X drivers (such as the Intel driver) generally do
represent the union of all outputs as a single X screen, with the RANDR
extension being used to control what outputs get what fragments of the
screen.

Ross
-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to