mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
wayland: Add title/class to wayland window (#19)
This commit is contained in:
parent
1e385d02b3
commit
cebcba4e10
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue