diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 22:28:06 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 22:28:06 +0200 |
| commit | a86bc76b9a0577a99a4d87ce6ce4bf2baa7f842e (patch) | |
| tree | 5cc2d6c50be2b487953a928865a7251695b6ccf4 /src/events/Windows.cpp | |
| parent | 50b48818a2a625118a9d0f8454041ad9d2ec5f59 (diff) | |
fix getTitle crash
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 4ce53697..f95e4924 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -240,9 +240,9 @@ void Events::listener_setTitleWindow(void* owner, void* data) { if (!g_pCompositor->windowValidMapped(PWINDOW)) return; - Debug::log(LOG, "Window %x set title to %s", PWINDOW, PWINDOW->m_szTitle.c_str()); - PWINDOW->m_szTitle = g_pXWaylandManager->getTitle(PWINDOW); + + Debug::log(LOG, "Window %x set title to %s", PWINDOW, PWINDOW->m_szTitle.c_str()); } void Events::listener_fullscreenWindow(void* owner, void* data) { |
