ask for help about multi-display in wayland

Pekka Paalanen ppaalanen at
Mon Jan 21 02:58:05 PST 2013

On Mon, 21 Jan 2013 01:12:18 +0000
"Xu, Jack" <jack.xu at> wrote:

> Hi,
> We are trying to enable two applications display on two screens separately. Currently we can drag the application another screen.
> But the "mouse" always appears on both screens. And we don't know how to display the application on selected screen by default when it's launched.
> The questions are:
> 1.      How the application choose which screen to display in multi-display mode?

So far the shell protocol has output definitions only in the
set_maximized and set_fullscreen requests. You have to extend the
protocol for other cases, as there is no way yet.

The shell interfaces are far from complete at this time.

What application is this? Is it a generic application, or some desktop
environment component?

> Is there any configuration file for it ? (We don't want to modify and recompile the applications.)

No. You will need to modify and recompile anyway, if not the
application, then the toolkit, to take advantage of any features that
might allow choosing the initial output.

> 2.      How to configure the mouse display in multi-display mode?
> We want only one mouse all the time.

Are you saying that you see several mouse cursors at the same time, one
on each output, while having only one pointer device? If so, that is a
Weston bug. Do they both move, or does always only one of them move?
What Weston backend are you using? Are you even using Weston?


More information about the wayland-devel mailing list