Hi,
I run an application using Wayland, EGL and Open GLES2 on IMX8qxp. I launch my application with the weston terminal and it works fine.
But the position of my application is random on the screen. I tried to use the function wl_shell_surface_set_transient (wl_shell_surface, wl_surface, POS_X, POS_Y, 0);
directly in my code.
However, I see no effect. Do you have a solution to fix the position of my application on the screen?
Thank you in advance for your help,
Hi, @clement_gervais,@Kareemunnisa @Kareem
I think this thread from Wayland mailing list will help
https://gitlab.freedesktop.org/wayland/wayland/-/issues/183
Ultimately, It has to say that positioning will be a job of window manager i.e compositor and not the end application.
[Update]: Btw we have created our own compositor and API so that wayland client application can be placed at specified position, on top of that we have created our own gstreamer wayalandsink plugin as well, which will position videos on specific position.
Hi, @clement_gervais,@Kareemunnisa @Kareem @sabidi , Hope our created plugin can help for your needs
sisigwaylandsink - A custom gstreamer plugin to control geometry
Features and demo is provided in the video link.
--
BR
rutvij.trivedi@siliconsignals.io
@clement_gervais@sabidi @Kareemunnisa @Kareem, Hope our created plugin can help for your need
sisigwaylandsink - A custom gstreamer plugin to control geometry
Features and demo is provided in the video link.
--
BR
rutvij.trivedi@siliconsignals.io
Using Wayland, EGL and Open GLES2 on IMX8. I launch my application and it works fine.But the position of my application is random on the screen. I tried to use the function wl_shell_surface_set_transient (wl_shell_surface, wl_surface, POS_X, POS_Y, 0); directly in my code.
Do you have a solution to fix the position of my application on the screen?
Hello Clement,
Try again the following to set fixed application:
wl_shell_surface_set_transient (wl_shell_surface, wl_surface, POS_X, POS_Y, 0); wl_shell_surface_set_toplevel(wl_shell_surface);
These variables are such as
and even
for applications that need
XWayland.
Regards
Hi Bio_TICFSL,
Thank you for your response. I tested your solution but without effect.
However, the fullscreen mode works. I dont't know why the set transient function doesn't work.
Regards