diff --git a/src/client_manager.cc b/src/client_manager.cc index 0053ebf0..9ca0af5e 100644 --- a/src/client_manager.cc +++ b/src/client_manager.cc @@ -122,8 +122,7 @@ WindowAndSelections ClientManager::get_free_window(Buffer& buffer) void ClientManager::add_free_window(std::unique_ptr&& window, SelectionList selections) { window->clear_display_buffer(); - Buffer& buffer = window->buffer(); - m_free_windows.push_back({ std::move(window), SelectionList{ std::move(selections) }, buffer.timestamp() }); + m_free_windows.push_back({ std::move(window), SelectionList{ std::move(selections) } }); } void ClientManager::ensure_no_client_uses_buffer(Buffer& buffer) diff --git a/src/client_manager.hh b/src/client_manager.hh index 8ebfaa37..35a1376f 100644 --- a/src/client_manager.hh +++ b/src/client_manager.hh @@ -11,7 +11,6 @@ struct WindowAndSelections { std::unique_ptr window; SelectionList selections; - size_t timestamp; }; class ClientManager : public Singleton