[PR #10938] [MERGED] Tray Icon PR followup #28314

Open
opened 2026-01-31 09:27:44 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10938
Author: @leonMSFT
Created: 8/12/2021
Status: Merged
Merged: 8/19/2021
Merged by: @undefined

Base: mainHead: dev/lelian/notifyicon/followup


📝 Commits (4)

  • 2c2a880 accidentally kept monarch as defapp server, destroy tray icon if monarch
  • fdd14b3 move tray icon cleanup to somewhere that's not the destructor
  • b94e199 ensure we're not dead when we want to cleanup, move to the bg thread a little closer to the x-proc call
  • dd8d07e formatting

📊 Changes

4 files changed (+20 additions, -18 deletions)

View changed files

📝 src/cascadia/Remoting/WindowManager.cpp (+5 -2)
📝 src/cascadia/Remoting/WindowManager.h (+2 -2)
📝 src/cascadia/WindowsTerminal/AppHost.cpp (+11 -12)
📝 src/cascadia/WindowsTerminal/AppHost.h (+2 -2)

📄 Description

Some followups to #10368:

  • Accidentally reverted a defapp change where the Monarch should not by default register itself as a handoff server.
  • Destroy the tray icon if we're a monarch otherwise if we're a quake window we request the monarch to hide the icon.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10938 **Author:** [@leonMSFT](https://github.com/leonMSFT) **Created:** 8/12/2021 **Status:** ✅ Merged **Merged:** 8/19/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lelian/notifyicon/followup` --- ### 📝 Commits (4) - [`2c2a880`](https://github.com/microsoft/terminal/commit/2c2a880fa7a0f9bd7b089eae3676e16863b84b87) accidentally kept monarch as defapp server, destroy tray icon if monarch - [`fdd14b3`](https://github.com/microsoft/terminal/commit/fdd14b37a9d018c639b54c5cc148f75ad04c75f4) move tray icon cleanup to somewhere that's not the destructor - [`b94e199`](https://github.com/microsoft/terminal/commit/b94e19996abf3c7752d8e0560fd9e25c57521c2b) ensure we're not dead when we want to cleanup, move to the bg thread a little closer to the x-proc call - [`dd8d07e`](https://github.com/microsoft/terminal/commit/dd8d07e2fa9df1a25668585aed69ac58a4f36f28) formatting ### 📊 Changes **4 files changed** (+20 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/Remoting/WindowManager.cpp` (+5 -2) 📝 `src/cascadia/Remoting/WindowManager.h` (+2 -2) 📝 `src/cascadia/WindowsTerminal/AppHost.cpp` (+11 -12) 📝 `src/cascadia/WindowsTerminal/AppHost.h` (+2 -2) </details> ### 📄 Description Some followups to #10368: - Accidentally reverted a defapp change where the Monarch should not by default register itself as a handoff server. - Destroy the tray icon if we're a monarch otherwise if we're a quake window we request the monarch to hide the icon. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27:44 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28314