From 1bccfebc0347ce7c4c6d25390f7bc8e04234012a Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 3 Nov 2023 15:52:35 +0100 Subject: window: Implement title return --- c++/window/xcb.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c++/window') diff --git a/c++/window/xcb.cpp b/c++/window/xcb.cpp index 422a0b6..5f3485c 100644 --- a/c++/window/xcb.cpp +++ b/c++/window/xcb.cpp @@ -237,6 +237,10 @@ void window::hide(){ xcb_unmap_window(device_->xcb_connection_, xcb_window_); } +const std::string_view window::get_title() const { + return window_title_; +} + const video_mode& window::get_video_mode() const { return video_mode_; } -- cgit v1.2.3