Skip to content
  • Leandro Ribeiro's avatar
    screenshooter: rename some functions to avoid conflicts · bc56729f
    Leandro Ribeiro authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    We have two functions with the name weston_screenshooter_shoot():
    
        1. screenshot protocol function that the screenshooter
        client uses to request screenshots to the compositor
    
        2. libweston function used by the compositor to take
        screenshots as requested by the screenshooter client
    
    Until now we had no problem with that, but in the next commits
    we are going to use the screenshot protocol in the test suite,
    which is also user of libweston. So rename screenshot protocol
    function to weston_screenshooter_take_shot() to avoid the conflict.
    
    For consistency, also rename screenshooter_shoot() to
    screenshooter_take_shot() in compositor/weston-screenshooter.c
    
    Signed-off-by: default avatarLeandro Ribeiro <leandro.ribeiro@collabora.com>
    bc56729f