There are few things more embarrassing in a professional environment than presenting a PowerPoint presentation over a Zoom or Microsoft Teams call, only for a highly personal iMessage notification from a friend to drop down from the top corner of your screen for the entire board of directors to read.
While you could try to remember to manually toggle “Do Not Disturb” on your Mac every single time you join a video call, human error is inevitable. Eventually, you will forget. Fortunately, modern versions of macOS include an automated safety feature that can intelligently detect when you are screen sharing and instantly mute all incoming notification banners without requiring any manual input.
Step 1: Open Focus Settings
Apple integrated this safety feature deeply into the “Focus” system (the modern replacement for Do Not Disturb).
- Click the Apple logo in the top left corner of your screen.
- Select System Settings (or System Preferences on older OS versions).
- In the left-hand sidebar, click on Focus.
Step 2: Configure the Screen Sharing Automation
We need to apply a global rule that activates Do Not Disturb under specific hardware conditions.
- In the main Focus window, click on Do Not Disturb.
- Scroll down to the section labeled Set a Schedule (or “Turn on Automatically”).
- You will see an option labeled While using an external display. This is great for physical conference rooms, but it doesn’t help with Zoom calls.
- Instead, look for the option labeled When mirroring or sharing to TVs and projectors (in macOS Ventura and later, this simply says While mirroring or sharing screen).
- Click the toggle switch to turn this feature On.
How the Automation Works
Once this toggle is flipped, macOS actively monitors the WindowServer framework for screen-capture hooks. The exact millisecond you click “Share Screen” in Zoom, Teams, Google Meet, or Webex, macOS instantly engages Do Not Disturb.
Incoming iMessages, Slack pings, calendar reminders, and email alerts will still silently accumulate in your Notification Center, but the visual banners will be violently suppressed, preventing them from rendering on your screen (and consequently, preventing them from being broadcast to your audience).
The moment you click “Stop Sharing” on your video call, the Do Not Disturb mode automatically disengages, and your notifications return to normal. You never have to manually click the moon icon in your menu bar again.