1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

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

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())