Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-11-10 01:17:53 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-11-10 02:02:20 +0300
commite1395f5a5370eff8fbf24bf450b6a934e6597197 (patch)
treef074729e997c61a82dc70e553c1c29654c976ccb
parentd26ae1fbb512a903e15ab013a76887e99e433027 (diff)
Rename surfaceListener to include xdg part.HEADmaster
-rw-r--r--profiler/src/BackendWayland.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp
index f215a9c6..ac91a961 100644
--- a/profiler/src/BackendWayland.cpp
+++ b/profiler/src/BackendWayland.cpp
@@ -252,7 +252,7 @@ static void XdgSurfaceConfigure( void*, struct xdg_surface* surf, uint32_t seria
xdg_surface_ack_configure( surf, serial );
}
-constexpr struct xdg_surface_listener surfaceListener = {
+constexpr struct xdg_surface_listener xdgSurfaceListener = {
.configure = XdgSurfaceConfigure
};
@@ -301,7 +301,7 @@ Backend::Backend( const char* title, std::function<void()> redraw, RunQueue* mai
s_surf = wl_compositor_create_surface( s_comp );
s_eglWin = wl_egl_window_create( s_surf, m_winPos.w, m_winPos.h );
s_xdgSurf = xdg_wm_base_get_xdg_surface( s_wm, s_surf );
- xdg_surface_add_listener( s_xdgSurf, &surfaceListener, nullptr );
+ xdg_surface_add_listener( s_xdgSurf, &xdgSurfaceListener, nullptr );
auto env_xcursor_theme = getenv( "XCURSOR_THEME" );
auto env_xcursor_size = getenv( "XCURSOR_SIZE" );