mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: omit duplicates from app's x11 icon list (#22736)
This commit is contained in:
@@ -1288,7 +1288,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HICON app_icon) {
|
||||
void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) {
|
||||
auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget(
|
||||
GetAcceleratedWidget());
|
||||
tree_host->SetWindowIcons(icon, icon);
|
||||
tree_host->SetWindowIcons(icon, {});
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user