protocols: add xdg_toplevel_tag_v1 support

Adds a new windowrule to target windows by xdgTag, xdgtag:
This commit is contained in:
Vaxry 2025-04-21 22:22:06 +01:00
parent 55e953b383
commit a4f7d7c594
No known key found for this signature in database
GPG key ID: 665806380871D640
11 changed files with 140 additions and 11 deletions

View file

@ -407,6 +407,8 @@ class CWindow {
void setContentType(NContentType::eContentType contentType);
void deactivateGroupMembers();
bool isNotResponding();
std::optional<std::string> xdgTag();
std::optional<std::string> xdgDescription();
CBox getWindowMainSurfaceBox() const {
return {m_vRealPosition->value().x, m_vRealPosition->value().y, m_vRealSize->value().x, m_vRealSize->value().y};