diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-11-06 02:43:09 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-11-06 02:43:09 +0300 |
commit | a2f774dc2036562cec0f221670f25e1b1edd08a4 (patch) | |
tree | 74ed8bda893ee2366336a0d4d7566d01f9bc4f00 | |
parent | ce797d82d58866d2486bcb9e49467e0542452dc7 (diff) |
Downgrade wl_compositor protocol to version 4.
Some compositors do not implement protocol in version 5.
-rw-r--r-- | profiler/src/BackendWayland.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index 4d78f6c6..9bbad64c 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -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 ) { |