From 462d8103aafded1714a9189f5ffb39520355a995 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 4 Dec 2022 21:11:56 +0100 Subject: [PATCH] Mark activity on window XDG surface reconfiguration. This happens for example when the window is resized, or maximized. --- profiler/src/BackendWayland.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index ae674df7..b9ae1735 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -19,6 +19,8 @@ #include "wayland/xdg-decoration.h" #include "wayland/xdg-shell.h" +#include "../../server/TracyImGui.hpp" + #include "Backend.hpp" #include "RunQueue.hpp" @@ -271,6 +273,7 @@ constexpr struct wl_registry_listener registryListener = { static void XdgSurfaceConfigure( void*, struct xdg_surface* surf, uint32_t serial ) { + tracy::s_wasActive = true; xdg_surface_ack_configure( surf, serial ); }