mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Downgrade wl_compositor protocol to version 4.
Some compositors do not implement protocol in version 5.
This commit is contained in:
parent
ce797d82d5
commit
a2f774dc20
@ -49,7 +49,7 @@ static void RegistryGlobalCb( void*, struct wl_registry* reg, uint32_t name, con
|
||||
{
|
||||
if( strcmp( interface, wl_compositor_interface.name ) == 0 )
|
||||
{
|
||||
s_comp = (wl_compositor*)wl_registry_bind( reg, name, &wl_compositor_interface, 5 );
|
||||
s_comp = (wl_compositor*)wl_registry_bind( reg, name, &wl_compositor_interface, 4 );
|
||||
}
|
||||
else if( strcmp( interface, wl_shm_interface.name ) == 0 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user