Mark activity on window XDG surface reconfiguration.

This happens for example when the window is resized, or maximized.
This commit is contained in:
Bartosz Taudul 2022-12-04 21:11:56 +01:00
parent 12a109d303
commit 462d8103aa
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 );
}