mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
WindowServer: Ignore title change notifications for non-normal windows.
This commit is contained in:
parent
04b7def6ab
commit
de4b77ef27
Notes:
sideshowbarker
2024-07-19 14:35:32 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/de4b77ef271
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
Reference in a new issue