Skip to content

Commit

Permalink
wayland: Add title/class to wayland window (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
phonetic112 authored Jul 17, 2024
1 parent 1e385d0 commit cebcba4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/Wayland.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<CCWlRegion>(backend->waylandState.compositor->sendCreateRegion());
inputRegion->sendAdd(0, 0, INT32_MAX, INT32_MAX);

Expand Down

0 comments on commit cebcba4

Please sign in to comment.