[PATCH 1/3] Change find_resource_for_surface to find_resource_for_client

Tiago Vignatti tiago.vignatti at linux.intel.com
Fri Apr 20 07:28:00 PDT 2012


On 04/20/2012 04:36 PM, Kristian Høgsberg wrote:
> On Fri, Apr 20, 2012 at 5:23 AM, Tiago Vignatti
> <tiago.vignatti at linux.intel.com>  wrote:
>> On 04/20/2012 05:50 AM, cdahlin at redhat.com wrote:
>>>
>>> From: Casey Dahlin<cdahlin at redhat.com>
>>>
>>> This function has generic applications and should be made generic.
>>
>>
>> this looks good. But we have already find_resource_for_surface in
>> libwayland-server, it's just not exported. So I'd say this kind of
>> modification should go there instead.
>
> No, it's an awkward five line helper function that I don't want to
> make public API.

yes, I meant find_resource_for_client. Or is there some fancier way 
you're planning to look through a list of resources?

Tiago


More information about the wayland-devel mailing list