mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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-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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user