2

I create a Wayland shell surface to show "FPS info". I would like to position windows like this

Now, I would like to set fixed position for this wayland client while starting the application. How can I do this ?

BЈовић
  • 62,405
  • 41
  • 173
  • 273
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42

1 Answers1

2

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);
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42