diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-25 17:38:16 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-25 17:38:16 +0200 |
commit | de4b77ef271d8cbc22046ba5f518c47d4e4d6cf8 (patch) | |
tree | 9abc9dcf9a9df640aa2c0ce5849030dc2ed3ca39 /Servers | |
parent | 04b7def6ab2e29ac81d30d675b004868157e8a73 (diff) | |
download | serenity-de4b77ef271d8cbc22046ba5f518c47d4e4d6cf8.zip |
WindowServer: Ignore title change notifications for non-normal windows.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/WSWindowManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp index 7d3363cca2..ffda3be38b 100644 --- a/Servers/WindowServer/WSWindowManager.cpp +++ b/Servers/WindowServer/WSWindowManager.cpp @@ -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()) |