mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibGUI: Retain Taskbar icon when toggling frameless setting
Reapply the app icon if the we are coming back from "frameless" mode. This will re-initialize the icon representing the app in the task bar, instead of displaying the default application icon. This bug was visible in "Cube Demo" as well as the "Analog Clock".
This commit is contained in:
parent
1674d06f78
commit
79ccba908e
Notes:
sideshowbarker
2024-07-18 18:22:50 +09:00
Author: https://github.com/bgianfo
Commit: 79ccba908e
Pull-request: https://github.com/SerenityOS/serenity/pull/6998
Reviewed-by: https://github.com/awesomekling
1 changed files with 3 additions and 0 deletions
|
@ -896,6 +896,9 @@ void Window::set_frameless(bool frameless)
|
|||
if (!is_visible())
|
||||
return;
|
||||
WindowServerConnection::the().set_frameless(m_window_id, frameless);
|
||||
|
||||
if (!frameless)
|
||||
apply_icon();
|
||||
}
|
||||
|
||||
bool Window::is_maximized() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue