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:
parent
04b7def6ab
commit
de4b77ef27
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue