diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-04-28 22:25:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-28 22:25:22 +0200 |
| commit | 21184404885cf61f7c10d2eb749478ef6b035dd2 (patch) | |
| tree | 38f1103d3e5f0188d149b7dd5d961ba64c2ed044 /src/protocols/ForeignToplevel.cpp | |
| parent | c505eb55ff967f2a0474e88a50803412ba550a61 (diff) | |
windows: refactor class member vars (#10168)
Diffstat (limited to 'src/protocols/ForeignToplevel.cpp')
| -rw-r--r-- | src/protocols/ForeignToplevel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocols/ForeignToplevel.cpp b/src/protocols/ForeignToplevel.cpp index e6c026d6..843e8b94 100644 --- a/src/protocols/ForeignToplevel.cpp +++ b/src/protocols/ForeignToplevel.cpp @@ -60,8 +60,8 @@ void CForeignToplevelList::onMap(PHLWINDOW pWindow) { LOGM(LOG, "Newly mapped window gets an identifier of {}", IDENTIFIER); resource->sendToplevel(NEWHANDLE->resource.get()); NEWHANDLE->resource->sendIdentifier(IDENTIFIER.c_str()); - NEWHANDLE->resource->sendAppId(pWindow->m_szInitialClass.c_str()); - NEWHANDLE->resource->sendTitle(pWindow->m_szInitialTitle.c_str()); + NEWHANDLE->resource->sendAppId(pWindow->m_initialClass.c_str()); + NEWHANDLE->resource->sendTitle(pWindow->m_initialTitle.c_str()); NEWHANDLE->resource->sendDone(); handles.push_back(NEWHANDLE); @@ -81,7 +81,7 @@ void CForeignToplevelList::onTitle(PHLWINDOW pWindow) { if UNLIKELY (!H || H->closed) return; - H->resource->sendTitle(pWindow->m_szTitle.c_str()); + H->resource->sendTitle(pWindow->m_title.c_str()); H->resource->sendDone(); } @@ -93,7 +93,7 @@ void CForeignToplevelList::onClass(PHLWINDOW pWindow) { if UNLIKELY (!H || H->closed) return; - H->resource->sendAppId(pWindow->m_szClass.c_str()); + H->resource->sendAppId(pWindow->m_class.c_str()); H->resource->sendDone(); } |
