WindowServer: Ignore title change notifications for non-normal windows.

This commit is contained in:
Andreas Kling 2019-04-25 17:38:16 +02:00
parent 04b7def6ab
commit de4b77ef27
Notes: sideshowbarker 2024-07-19 14:35:32 +09:00

View file

@ -370,6 +370,8 @@ void WSWindowManager::tell_wm_listeners_window_rect_changed(WSWindow& window)
void WSWindowManager::notify_title_changed(WSWindow& window)
{
if (window.type() != WSWindowType::Normal)
return;
dbgprintf("[WM] WSWindow{%p} title set to '%s'\n", &window, window.title().characters());
invalidate(window.frame().rect());
if (m_switcher.is_visible())