From 4adc3cf97a608a16a2e0451a2d44bb05d3a09336 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 1 Oct 2019 21:38:53 -0700 Subject: Imgui Linux XCB impl: implemented time delta handling --- Imgui/interface/ImGuiImplLinuxXCB.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Imgui/interface') diff --git a/Imgui/interface/ImGuiImplLinuxXCB.h b/Imgui/interface/ImGuiImplLinuxXCB.h index bef1035..62658b4 100644 --- a/Imgui/interface/ImGuiImplLinuxXCB.h +++ b/Imgui/interface/ImGuiImplLinuxXCB.h @@ -24,6 +24,7 @@ #pragma once #include +#include #include "ImGuiImplDiligent.h" @@ -57,6 +58,7 @@ private: void HandleKeyEvent(xcb_key_release_event_t* event); _XCBKeySymbols* m_syms = nullptr; + std::chrono::time_point m_LastTimestamp = {}; }; } -- cgit v1.2.3