From 2e3adfc5100c4c273529d7e0ed1cba42f184395f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 4 Apr 2025 20:51:28 +0200 Subject: Add option to capture the focused monitor --- include/WindowUtils.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/WindowUtils.hpp') diff --git a/include/WindowUtils.hpp b/include/WindowUtils.hpp index e31eeb2..72d2179 100644 --- a/include/WindowUtils.hpp +++ b/include/WindowUtils.hpp @@ -15,6 +15,7 @@ namespace gsr { struct Monitor { mgl::vec2i position; mgl::vec2i size; + std::string name; }; std::optional get_window_title(Display *dpy, Window window); -- cgit v1.2.3-70-g09d2