From aeb3e5e59f9b3b781696aad5dcbe3f7dda940d17 Mon Sep 17 00:00:00 2001 From: phonetic112 <73647246+phonetic112@users.noreply.github.com> Date: Tue, 16 Jul 2024 19:16:05 -0400 Subject: [PATCH] Add title/class to wayland window --- 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);