mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
Mark activity on window XDG surface reconfiguration.
This happens for example when the window is resized, or maximized.
This commit is contained in:
parent
12a109d303
commit
462d8103aa
@ -19,6 +19,8 @@
|
|||||||
#include "wayland/xdg-decoration.h"
|
#include "wayland/xdg-decoration.h"
|
||||||
#include "wayland/xdg-shell.h"
|
#include "wayland/xdg-shell.h"
|
||||||
|
|
||||||
|
#include "../../server/TracyImGui.hpp"
|
||||||
|
|
||||||
#include "Backend.hpp"
|
#include "Backend.hpp"
|
||||||
#include "RunQueue.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 )
|
static void XdgSurfaceConfigure( void*, struct xdg_surface* surf, uint32_t serial )
|
||||||
{
|
{
|
||||||
|
tracy::s_wasActive = true;
|
||||||
xdg_surface_ack_configure( surf, serial );
|
xdg_surface_ack_configure( surf, serial );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user