mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +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
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