Adding restrictions to global binding and resource creation.
Hello,
I have noticed that there are several clients that bind multiple times to the same global, for example, to the same wl_output or wl_seat, or create more than one wl_pointer, wl_keyboard, or wl_touch from the same wl_seat. This obviously complicates several things on the compositor side and makes it less efficient, and from my point of view, it doesn't make much sense. Therefore, could we consider the option of specifying rules in the protocols to prevent clients from doing this and treat it as an error? Or is there any reason that I am unaware of for allowing this?
Regards