On Wed, 3 Jan 2018 13:23:49 +0000 "Han, Guowei" <guowei....@johnsonoutdoors.com> 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 > <ku.b-l...@gmx.de<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 > <jstpie...@mecheye.net<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 > <guowei....@johnsonoutdoors.com<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 > > -- ------------- 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