问题
I create a Wayland shell surface to show "FPS info".
Now, I would like to set fixed position for this wayland client while starting the application. How can I do this ?
回答1:
Set fixed position of text displaying window by using
wl_shell_surface_set_transient (wl_shell_surface, wl_surface, POS_X, POS_Y, 0);
wl_shell_surface_set_toplevel(wl_shell_surface);
来源:https://stackoverflow.com/questions/47305945/how-to-set-position-of-a-wayland-clients-surface-in-weston-background