From cebcba4e107fde332ff023119f9a8758aa6fd120 Mon Sep 17 00:00:00 2001 From: phonetic112 <73647246+phonetic112@users.noreply.github.com> Date: Wed, 17 Jul 2024 05:40:45 -0400 Subject: [PATCH] wayland: Add title/class to wayland window (#19) --- src/backend/Wayland.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/Wayland.cpp b/src/backend/Wayland.cpp index 0b70b51..1a50b6e 100644 --- a/src/backend/Wayland.cpp +++ b/src/backend/Wayland.cpp @@ -479,6 +479,9 @@ Aquamarine::CWaylandOutput::CWaylandOutput(const std::string& name_, Hyprutils:: waylandState.xdgToplevel->setClose([this](CCXdgToplevel* r) { destroy(); }); + waylandState.xdgToplevel->sendSetTitle(std::format("aquamarine - {}", name).c_str()); + waylandState.xdgToplevel->sendSetAppId("aquamarine"); + auto inputRegion = makeShared(backend->waylandState.compositor->sendCreateRegion()); inputRegion->sendAdd(0, 0, INT32_MAX, INT32_MAX);