1

I'm playing around with Wayland. Currently I'm trying to write a small compositor. The compiler keeps telling me that "wl_client_add_resource" is deprecated. What is the alternative to it?

MasterCrumble
  • 111
  • 1
  • 5

1 Answers1

0

Should be wl_client_add_object() as shown here

Updated: As shown in doxygen page of Wayland 1.9.90 , wl_client_add_object and wl_client_add_resource all are deprecated.

albert
  • 8,285
  • 3
  • 19
  • 32
gzh
  • 3,507
  • 2
  • 19
  • 23