RE: Window positioning

2018-01-04 Thread Han, Guowei
Thanks you very much! New to wayland, so a lot to learn.

From: Ucan, Emre (ADITG/ESB) [mailto:eu...@de.adit-jv.com]
Sent: Thursday, January 04, 2018 2:17 AM
To: Han, Guowei ; Jasper St. Pierre 
; wayland 
Subject: RE: Window positioning

Hi Han,

In ivi-shell architecture, there are controller plugins which controls the 
layout of surfaces on the display. The controller plugins are using 
ivi_layout_interface to do that.
In weston repository, we have hmi-controller plugin which is good for demo 
purposes. But it is not suitable for production use-cases.

Please check https://github.com/GENIVI/wayland-ivi-extension. There, we have 
ivi-controller plugin which enables you to control the layout via ivi_wm 
protocol.
You can use ivi-wm protocol directly in your Window Manager app, or you can use 
ilmControl library, or you can use LayerManagerControl command line tool to 
control the layout of surfaces.

Best regards

Emre Ucan
Engineering Software Base (ADITG/ESB)

Tel. +49 5121 49 6937
From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On 
Behalf Of Han, Guowei
Sent: Mittwoch, 3. Januar 2018 18:39
To: Jasper St. Pierre; wayland
Subject: RE: Window positioning

Thanks for all the help. Will start look into ivi-shell.

From: magc...@gmail.com<mailto:magc...@gmail.com> [mailto:magc...@gmail.com] On 
Behalf Of Jasper St. Pierre
Sent: Wednesday, January 03, 2018 12:28 PM
To: Han, Guowei 
mailto:guowei@johnsonoutdoors.com>>; 
wayland 
mailto:wayland-devel@lists.freedesktop.org>>
Subject: Re: Window positioning

(Please Reply All in the future so that responses go to the mailing list)

Hi Han,

In that case, you should probably use a protocol designed for embedded surface 
layout, like ivi-shell, rather than xdg-shell. Embedded, static-size display is 
a very different use case than a modern desktop system which requires hotplug 
and multimonitor layouts.

On Wed, Jan 3, 2018 at 9:26 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are not allowing user move position since we are in an embedded system. So 
that’s not an issue for us. We don’t even have a mouse connected.

From: magc...@gmail.com<mailto:magc...@gmail.com> 
[mailto:magc...@gmail.com<mailto:magc...@gmail.com>] On Behalf Of Jasper St. 
Pierre
Sent: Wednesday, January 03, 2018 12:24 PM
To: Han, Guowei 
mailto:guowei@johnsonoutdoors.com>>
Cc: Kai-Uwe mailto:ku.b-l...@gmx.de>>; wayland 
mailto:wayland-devel@lists.freedesktop.org>>
Subject: Re: Window positioning

Hi Han,

Allowing yourselves to place multiple windows where you want it then isn't 
going to solve that problem, since users can still drag them around, minimize 
them, etc. Multiprocess rendering is a bit tricksy, and there's no standardized 
way to do it right now. The traditional technique is to build your own Wayland 
compositor inside your application, which is a bit heavyweight, and then use 
wl_subsurface to composite the results. This is what e.g. WebKit2's 
architecture does, and it's something I've tried to implement in the past [0]. 
As the scope of a Wayland compositor becomes larger and larger over time, I 
think this is starting to become a bit impractical. It might be worth looking 
into a multi-process buffer-sharing protocol as a Wayland extension, since it's 
a use case that keeps coming up.

[0] https://github.com/magcius/wakefield

On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are running a multi process application. And GUI is act as a transparent top 
layer. All other process rendering by them self underneath. So its important 
for other process to place the window at right potion.

Sent from my iPhone

On Jan 3, 2018, at 2:58 AM, Kai-Uwe mailto:ku.b-l...@gmx.de>> 
wrote:

Maybe you are after a full screen application then. With that you should be 
able to decide about the positioning on the whole output.
Am 03.01.2018 um 02:37 schrieb Han, Guowei:
Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am 
creating a bigger surface bigger than screen size. and make subsurface so i can 
posion them as i want. Really don't think its a good way to do it.

Sent from my iPhone

On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
mailto:jstpie...@mecheye.net>> wrote:
*EXTERNAL EMAIL*
Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell 
protocol. However, for embedded cases, there are protocols like ivi-shell which 
provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:

Hi,



Wonder if there’s a way we can position window to anywhere we want using 
wayland or maybe weston?



Thanks,


The information in this email and any attachments may contain proprietary and 
confidential information that is intended for the addressee(s) only. If you are 
not the intend

RE: Window positioning

2018-01-03 Thread Ucan, Emre (ADITG/ESB)
Hi Han,

In ivi-shell architecture, there are controller plugins which controls the 
layout of surfaces on the display. The controller plugins are using 
ivi_layout_interface to do that.
In weston repository, we have hmi-controller plugin which is good for demo 
purposes. But it is not suitable for production use-cases.

Please check https://github.com/GENIVI/wayland-ivi-extension. There, we have 
ivi-controller plugin which enables you to control the layout via ivi_wm 
protocol.
You can use ivi-wm protocol directly in your Window Manager app, or you can use 
ilmControl library, or you can use LayerManagerControl command line tool to 
control the layout of surfaces.

Best regards

Emre Ucan
Engineering Software Base (ADITG/ESB)

Tel. +49 5121 49 6937
From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On 
Behalf Of Han, Guowei
Sent: Mittwoch, 3. Januar 2018 18:39
To: Jasper St. Pierre; wayland
Subject: RE: Window positioning

Thanks for all the help. Will start look into ivi-shell.

From: magc...@gmail.com<mailto:magc...@gmail.com> [mailto:magc...@gmail.com] On 
Behalf Of Jasper St. Pierre
Sent: Wednesday, January 03, 2018 12:28 PM
To: Han, Guowei 
mailto:guowei@johnsonoutdoors.com>>; 
wayland 
mailto:wayland-devel@lists.freedesktop.org>>
Subject: Re: Window positioning

(Please Reply All in the future so that responses go to the mailing list)

Hi Han,

In that case, you should probably use a protocol designed for embedded surface 
layout, like ivi-shell, rather than xdg-shell. Embedded, static-size display is 
a very different use case than a modern desktop system which requires hotplug 
and multimonitor layouts.

On Wed, Jan 3, 2018 at 9:26 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are not allowing user move position since we are in an embedded system. So 
that’s not an issue for us. We don’t even have a mouse connected.

From: magc...@gmail.com<mailto:magc...@gmail.com> 
[mailto:magc...@gmail.com<mailto:magc...@gmail.com>] On Behalf Of Jasper St. 
Pierre
Sent: Wednesday, January 03, 2018 12:24 PM
To: Han, Guowei 
mailto:guowei@johnsonoutdoors.com>>
Cc: Kai-Uwe mailto:ku.b-l...@gmx.de>>; wayland 
mailto:wayland-devel@lists.freedesktop.org>>
Subject: Re: Window positioning

Hi Han,

Allowing yourselves to place multiple windows where you want it then isn't 
going to solve that problem, since users can still drag them around, minimize 
them, etc. Multiprocess rendering is a bit tricksy, and there's no standardized 
way to do it right now. The traditional technique is to build your own Wayland 
compositor inside your application, which is a bit heavyweight, and then use 
wl_subsurface to composite the results. This is what e.g. WebKit2's 
architecture does, and it's something I've tried to implement in the past [0]. 
As the scope of a Wayland compositor becomes larger and larger over time, I 
think this is starting to become a bit impractical. It might be worth looking 
into a multi-process buffer-sharing protocol as a Wayland extension, since it's 
a use case that keeps coming up.

[0] https://github.com/magcius/wakefield

On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are running a multi process application. And GUI is act as a transparent top 
layer. All other process rendering by them self underneath. So its important 
for other process to place the window at right potion.

Sent from my iPhone

On Jan 3, 2018, at 2:58 AM, Kai-Uwe mailto:ku.b-l...@gmx.de>> 
wrote:

Maybe you are after a full screen application then. With that you should be 
able to decide about the positioning on the whole output.
Am 03.01.2018 um 02:37 schrieb Han, Guowei:
Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am 
creating a bigger surface bigger than screen size. and make subsurface so i can 
posion them as i want. Really don't think its a good way to do it.

Sent from my iPhone

On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
mailto:jstpie...@mecheye.net>> wrote:
*EXTERNAL EMAIL*
Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell 
protocol. However, for embedded cases, there are protocols like ivi-shell which 
provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:

Hi,



Wonder if there’s a way we can position window to anywhere we want using 
wayland or maybe weston?



Thanks,


The information in this email and any attachments may contain proprietary and 
confidential information that is intended for the addressee(s) only. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, retention or use of the contents of this information is 
prohibited. If you have received this email in error, please immediately 
contact the 

Re: Window positioning

2018-01-03 Thread Carsten Haitzler
On Wed, 3 Jan 2018 13:23:49 + "Han, Guowei"
 said:

> We are running a multi process application. And GUI is act as a transparent
> top layer. All other process rendering by them self underneath. So its
> important for other process to place the window at right potion.

Then you want to probably use process to process buffer sharing (e.g. like a
nested wayland compositor), and maybe subsurfaces. Then you have a main process
that acts as a gateway for other processes and their buffers and input etc. and
this process manages your policies within its window and relative positioning
space.

Never rely on the system compositor for this. What if the system compositor
didn't have a rectangular screen but displays on a globe? Or a hemisphere? Or
it wrapped the display around a 3d bunny rabbit? What if it was a compositor
for a mobile-like UI where it decided every app window is to be "fullscreen"
and mutually exclusive to other apps, displaying only 1 at a time? Relying on
and demanding global positioning files in the face of implementing man common
UI policies you see today across many devices. Wayland (and xdg-shell) are
designed to be as agnostic as possible to the final display policy and thus
limit things like positioning to only be subsurface based (relative to main
surface).

> Sent from my iPhone
> 
> On Jan 3, 2018, at 2:58 AM, Kai-Uwe
> mailto:ku.b-l...@gmx.de>> wrote:
> 
> 
> Maybe you are after a full screen application then. With that you should be
> able to decide about the positioning on the whole output.
> 
> Am 03.01.2018 um 02:37 schrieb Han, Guowei:
> Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am
> creating a bigger surface bigger than screen size. and make subsurface so i
> can posion them as i want. Really don't think its a good way to do it.
> 
> Sent from my iPhone
> 
> On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre
> mailto:jstpie...@mecheye.net>> wrote:
> 
> *EXTERNAL EMAIL*
> 
> Hi Han,
> 
> You cannot position surfaces absolutely using the traditional xdg-shell
> protocol. However, for embedded cases, there are protocols like ivi-shell
> which provide that functionality.
> 
> On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei
> mailto:guowei@johnsonoutdoors.com>>
> wrote: Hi,
> 
> Wonder if there’s a way we can position window to anywhere we want using
> wayland or maybe weston?
> 
> Thanks,
> 
> The information in this email and any attachments may contain proprietary and
> confidential information that is intended for the addressee(s) only. If you
> are not the intended recipient, you are hereby notified that any disclosure,
> copying, distribution, retention or use of the contents of this information
> is prohibited. If you have received this email in error, please immediately
> contact the sender and delete the email.
> 
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 
> 
> 
> 
> --
>   Jasper
> 
> 
> 
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


RE: Window positioning

2018-01-03 Thread Han, Guowei
Thanks for all the help. Will start look into ivi-shell.

From: magc...@gmail.com [mailto:magc...@gmail.com] On Behalf Of Jasper St. 
Pierre
Sent: Wednesday, January 03, 2018 12:28 PM
To: Han, Guowei ; wayland 

Subject: Re: Window positioning

(Please Reply All in the future so that responses go to the mailing list)

Hi Han,

In that case, you should probably use a protocol designed for embedded surface 
layout, like ivi-shell, rather than xdg-shell. Embedded, static-size display is 
a very different use case than a modern desktop system which requires hotplug 
and multimonitor layouts.

On Wed, Jan 3, 2018 at 9:26 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are not allowing user move position since we are in an embedded system. So 
that’s not an issue for us. We don’t even have a mouse connected.

From: magc...@gmail.com<mailto:magc...@gmail.com> 
[mailto:magc...@gmail.com<mailto:magc...@gmail.com>] On Behalf Of Jasper St. 
Pierre
Sent: Wednesday, January 03, 2018 12:24 PM
To: Han, Guowei 
mailto:guowei@johnsonoutdoors.com>>
Cc: Kai-Uwe mailto:ku.b-l...@gmx.de>>; wayland 
mailto:wayland-devel@lists.freedesktop.org>>
Subject: Re: Window positioning

Hi Han,

Allowing yourselves to place multiple windows where you want it then isn't 
going to solve that problem, since users can still drag them around, minimize 
them, etc. Multiprocess rendering is a bit tricksy, and there's no standardized 
way to do it right now. The traditional technique is to build your own Wayland 
compositor inside your application, which is a bit heavyweight, and then use 
wl_subsurface to composite the results. This is what e.g. WebKit2's 
architecture does, and it's something I've tried to implement in the past [0]. 
As the scope of a Wayland compositor becomes larger and larger over time, I 
think this is starting to become a bit impractical. It might be worth looking 
into a multi-process buffer-sharing protocol as a Wayland extension, since it's 
a use case that keeps coming up.

[0] https://github.com/magcius/wakefield

On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
We are running a multi process application. And GUI is act as a transparent top 
layer. All other process rendering by them self underneath. So its important 
for other process to place the window at right potion.

Sent from my iPhone

On Jan 3, 2018, at 2:58 AM, Kai-Uwe mailto:ku.b-l...@gmx.de>> 
wrote:

Maybe you are after a full screen application then. With that you should be 
able to decide about the positioning on the whole output.
Am 03.01.2018 um 02:37 schrieb Han, Guowei:
Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am 
creating a bigger surface bigger than screen size. and make subsurface so i can 
posion them as i want. Really don't think its a good way to do it.

Sent from my iPhone

On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
mailto:jstpie...@mecheye.net>> wrote:
*EXTERNAL EMAIL*
Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell 
protocol. However, for embedded cases, there are protocols like ivi-shell which 
provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:

Hi,



Wonder if there’s a way we can position window to anywhere we want using 
wayland or maybe weston?



Thanks,


The information in this email and any attachments may contain proprietary and 
confidential information that is intended for the addressee(s) only. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, retention or use of the contents of this information is 
prohibited. If you have received this email in error, please immediately 
contact the sender and delete the email.

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org<mailto:wayland-devel@lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/wayland-devel



--
  Jasper


___

wayland-devel mailing list

wayland-devel@lists.freedesktop.org<mailto:wayland-devel@lists.freedesktop.org>

https://lists.freedesktop.org/mailman/listinfo/wayland-devel


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org<mailto:wayland-devel@lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/wayland-devel



--
  Jasper



--
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-03 Thread Jasper St. Pierre
(Please Reply All in the future so that responses go to the mailing list)

Hi Han,

In that case, you should probably use a protocol designed for embedded
surface layout, like ivi-shell, rather than xdg-shell. Embedded,
static-size display is a very different use case than a modern desktop
system which requires hotplug and multimonitor layouts.

On Wed, Jan 3, 2018 at 9:26 AM, Han, Guowei 
wrote:

> We are not allowing user move position since we are in an embedded system.
> So that’s not an issue for us. We don’t even have a mouse connected.
>
>
>
> *From:* magc...@gmail.com [mailto:magc...@gmail.com] *On Behalf Of *Jasper
> St. Pierre
> *Sent:* Wednesday, January 03, 2018 12:24 PM
> *To:* Han, Guowei 
> *Cc:* Kai-Uwe ; wayland  freedesktop.org>
> *Subject:* Re: Window positioning
>
>
>
> Hi Han,
>
> Allowing yourselves to place multiple windows where you want it then isn't
> going to solve that problem, since users can still drag them around,
> minimize them, etc. Multiprocess rendering is a bit tricksy, and there's no
> standardized way to do it right now. The traditional technique is to build
> your own Wayland compositor inside your application, which is a bit
> heavyweight, and then use wl_subsurface to composite the results. This is
> what e.g. WebKit2's architecture does, and it's something I've tried to
> implement in the past [0]. As the scope of a Wayland compositor becomes
> larger and larger over time, I think this is starting to become a bit
> impractical. It might be worth looking into a multi-process buffer-sharing
> protocol as a Wayland extension, since it's a use case that keeps coming up.
>
>
>
> [0] https://github.com/magcius/wakefield
>
>
>
> On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei  com> wrote:
>
> We are running a multi process application. And GUI is act as a
> transparent top layer. All other process rendering by them self underneath.
> So its important for other process to place the window at right potion.
>
> Sent from my iPhone
>
>
> On Jan 3, 2018, at 2:58 AM, Kai-Uwe  wrote:
>
> Maybe you are after a full screen application then. With that you should
> be able to decide about the positioning on the whole output.
>
> Am 03.01.2018 um 02:37 schrieb Han, Guowei:
>
> Thanks Jasper. Do u know if there's a demo i can learn from? Currently i
> am creating a bigger surface bigger than screen size. and make subsurface
> so i can posion them as i want. Really don't think its a good way to do it.
>
> Sent from my iPhone
>
>
> On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
> wrote:
>
> *EXTERNAL EMAIL*
>
> Hi Han,
>
>
>
> You cannot position surfaces absolutely using the traditional xdg-shell
> protocol. However, for embedded cases, there are protocols like ivi-shell
> which provide that functionality.
>
>
>
> On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei  com> wrote:
>
> Hi,
>
>
>
> Wonder if there’s a way we can position window to anywhere we want using
> wayland or maybe weston?
>
>
>
> Thanks,
>
>
>
> The information in this email and any attachments may contain proprietary
> and confidential information that is intended for the addressee(s) only. If
> you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, retention or use of the contents of this
> information is prohibited. If you have received this email in error, please
> immediately contact the sender and delete the email.
>
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
>
>
> --
>
>   Jasper
>
>
>
> ___
>
> wayland-devel mailing list
>
> wayland-devel@lists.freedesktop.org
>
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
>
> --
>
>   Jasper
>



-- 
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-03 Thread Jasper St. Pierre
Hi Han,

Allowing yourselves to place multiple windows where you want it then isn't
going to solve that problem, since users can still drag them around,
minimize them, etc. Multiprocess rendering is a bit tricksy, and there's no
standardized way to do it right now. The traditional technique is to build
your own Wayland compositor inside your application, which is a bit
heavyweight, and then use wl_subsurface to composite the results. This is
what e.g. WebKit2's architecture does, and it's something I've tried to
implement in the past [0]. As the scope of a Wayland compositor becomes
larger and larger over time, I think this is starting to become a bit
impractical. It might be worth looking into a multi-process buffer-sharing
protocol as a Wayland extension, since it's a use case that keeps coming up.

[0] https://github.com/magcius/wakefield

On Wed, Jan 3, 2018 at 5:23 AM, Han, Guowei 
wrote:

> We are running a multi process application. And GUI is act as a
> transparent top layer. All other process rendering by them self underneath.
> So its important for other process to place the window at right potion.
>
> Sent from my iPhone
>
> On Jan 3, 2018, at 2:58 AM, Kai-Uwe  wrote:
>
> Maybe you are after a full screen application then. With that you should
> be able to decide about the positioning on the whole output.
> Am 03.01.2018 um 02:37 schrieb Han, Guowei:
>
> Thanks Jasper. Do u know if there's a demo i can learn from? Currently i
> am creating a bigger surface bigger than screen size. and make subsurface
> so i can posion them as i want. Really don't think its a good way to do it.
>
> Sent from my iPhone
>
> On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
> wrote:
>
> *EXTERNAL EMAIL*
>
> Hi Han,
>
> You cannot position surfaces absolutely using the traditional xdg-shell
> protocol. However, for embedded cases, there are protocols like ivi-shell
> which provide that functionality.
>
> On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei  com> wrote:
>
>> Hi,
>>
>>
>>
>> Wonder if there’s a way we can position window to anywhere we want using
>> wayland or maybe weston?
>>
>>
>>
>> Thanks,
>>
>>
>> The information in this email and any attachments may contain proprietary
>> and confidential information that is intended for the addressee(s) only. If
>> you are not the intended recipient, you are hereby notified that any
>> disclosure, copying, distribution, retention or use of the contents of this
>> information is prohibited. If you have received this email in error, please
>> immediately contact the sender and delete the email.
>>
>> ___
>> wayland-devel mailing list
>> wayland-devel@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>
>>
>
>
> --
>   Jasper
>
>
>
> ___
> wayland-devel mailing 
> listwayland-devel@lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>


-- 
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-03 Thread Kai-Uwe
Am 03.01.2018 um 14:23 schrieb Han, Guowei:

> We are running a multi process application. And GUI is act as a
> transparent top layer. All other process rendering by them self
> underneath. So its important for other process to place the window at
> right potion.

[Even that issue appears offtopic to me, here a hint: you might use a
IPC and render into a common canvas from all your rendering processes.
How you update is then up to the application showing the window (once a
frame is finished or after each process send its part).]
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-03 Thread Han, Guowei
We are running a multi process application. And GUI is act as a transparent top 
layer. All other process rendering by them self underneath. So its important 
for other process to place the window at right potion.

Sent from my iPhone

On Jan 3, 2018, at 2:58 AM, Kai-Uwe mailto:ku.b-l...@gmx.de>> 
wrote:


Maybe you are after a full screen application then. With that you should be 
able to decide about the positioning on the whole output.

Am 03.01.2018 um 02:37 schrieb Han, Guowei:
Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am 
creating a bigger surface bigger than screen size. and make subsurface so i can 
posion them as i want. Really don't think its a good way to do it.

Sent from my iPhone

On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
mailto:jstpie...@mecheye.net>> wrote:

*EXTERNAL EMAIL*

Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell 
protocol. However, for embedded cases, there are protocols like ivi-shell which 
provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
Hi,

Wonder if there’s a way we can position window to anywhere we want using 
wayland or maybe weston?

Thanks,

The information in this email and any attachments may contain proprietary and 
confidential information that is intended for the addressee(s) only. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, retention or use of the contents of this information is 
prohibited. If you have received this email in error, please immediately 
contact the sender and delete the email.

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel




--
  Jasper



___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-03 Thread Thiago Macieira
On Tuesday, 2 January 2018 23:37:08 -02 Han, Guowei wrote:
> Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am
> creating a bigger surface bigger than screen size. and make subsurface so i
> can posion them as i want. Really don't think its a good way to do it.

It isn't. Can you share why you want to position a window at a specific point 
in the screen? What's your use-case?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-02 Thread Kai-Uwe
Maybe you are after a full screen application then. With that you should
be able to decide about the positioning on the whole output.

Am 03.01.2018 um 02:37 schrieb Han, Guowei:
> Thanks Jasper. Do u know if there's a demo i can learn from? Currently
> i am creating a bigger surface bigger than screen size. and make
> subsurface so i can posion them as i want. Really don't think its a
> good way to do it.
>
> Sent from my iPhone
>
> On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre  > wrote:
>
>> *EXTERNAL EMAIL*
>>
>> Hi Han,
>>
>> You cannot position surfaces absolutely using the traditional
>> xdg-shell protocol. However, for embedded cases, there are protocols
>> like ivi-shell which provide that functionality.
>>
>> On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei
>> > > wrote:
>>
>> Hi,
>>
>>  
>>
>> Wonder if there’s a way we can position window to anywhere we
>> want using wayland or maybe weston?
>>
>>  
>>
>> Thanks,
>>
>>  
>>
>> The information in this email and any attachments may contain
>> proprietary and confidential information that is intended for the
>> addressee(s) only. If you are not the intended recipient, you are
>> hereby notified that any disclosure, copying, distribution,
>> retention or use of the contents of this information is
>> prohibited. If you have received this email in error, please
>> immediately contact the sender and delete the email.
>>
>> ___
>> wayland-devel mailing list
>> wayland-devel@lists.freedesktop.org
>> 
>> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>> 
>>
>>
>>
>>
>> -- 
>>   Jasper
>
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-02 Thread Carsten Haitzler
On Wed, 3 Jan 2018 01:37:08 + "Han, Guowei"
 said:

> Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am
> creating a bigger surface bigger than screen size. and make subsurface so i
> can posion them as i want. Really don't think its a good way to do it.

that is the intended design. it's a very good thing not allowing clients to
arbitrarily position themselves on a screen. a very good idea. wayland has
gotten it right here (and ivi-shell i think is just being wrong and not
understanding the mountain of history behind such a decision to disallow
manual explicit positioning).

> Sent from my iPhone
> 
> On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre
> mailto:jstpie...@mecheye.net>> wrote:
> 
> *EXTERNAL EMAIL*
> 
> Hi Han,
> 
> You cannot position surfaces absolutely using the traditional xdg-shell
> protocol. However, for embedded cases, there are protocols like ivi-shell
> which provide that functionality.
> 
> On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei
> mailto:guowei@johnsonoutdoors.com>>
> wrote: Hi,
> 
> Wonder if there’s a way we can position window to anywhere we want using
> wayland or maybe weston?
> 
> Thanks,
> 
> The information in this email and any attachments may contain proprietary and
> confidential information that is intended for the addressee(s) only. If you
> are not the intended recipient, you are hereby notified that any disclosure,
> copying, distribution, retention or use of the contents of this information
> is prohibited. If you have received this email in error, please immediately
> contact the sender and delete the email.
> 
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 
> 
> 
> 
> --
>   Jasper


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-02 Thread Han, Guowei
Thanks Jasper. Do u know if there's a demo i can learn from? Currently i am 
creating a bigger surface bigger than screen size. and make subsurface so i can 
posion them as i want. Really don't think its a good way to do it.

Sent from my iPhone

On Jan 2, 2018, at 4:25 PM, Jasper St. Pierre 
mailto:jstpie...@mecheye.net>> wrote:

*EXTERNAL EMAIL*

Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell 
protocol. However, for embedded cases, there are protocols like ivi-shell which 
provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei 
mailto:guowei@johnsonoutdoors.com>> wrote:
Hi,

Wonder if there’s a way we can position window to anywhere we want using 
wayland or maybe weston?

Thanks,

The information in this email and any attachments may contain proprietary and 
confidential information that is intended for the addressee(s) only. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, retention or use of the contents of this information is 
prohibited. If you have received this email in error, please immediately 
contact the sender and delete the email.

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel




--
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Window positioning

2018-01-02 Thread Jasper St. Pierre
Hi Han,

You cannot position surfaces absolutely using the traditional xdg-shell
protocol. However, for embedded cases, there are protocols like ivi-shell
which provide that functionality.

On Fri, Dec 29, 2017 at 10:09 AM, Han, Guowei <
guowei@johnsonoutdoors.com> wrote:

> Hi,
>
>
>
> Wonder if there’s a way we can position window to anywhere we want using
> wayland or maybe weston?
>
>
>
> Thanks,
>
>
> The information in this email and any attachments may contain proprietary
> and confidential information that is intended for the addressee(s) only. If
> you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, retention or use of the contents of this
> information is prohibited. If you have received this email in error, please
> immediately contact the sender and delete the email.
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>


-- 
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel