Friday, December 26, 2025

imac – How to automatically resize a window when dragging between target displays?

Setup description

I have 2 iMacs. One is an old one that I use in target display mode. I have it set up as a separate mission control desktop so that when I change desktops on the main display, the desktop on the old iMac does not change. I.e. it always displays the same windows/apps.

The new iMac is positioned right in front of me and the old one is off to my right. I like this arrangement because the apps I keep on the old iMac are for apps/windows that I need access to from any desktop, but do not usually need focussed attention.

There’s one exception. One app sometimes needs focussed attention when I’m doing work on one particular desktop. It’s for when I’m on RT duty one week a month, so when I’m on the RT desktop that month, I often drag the RT window over to the main display.

Now to the question…

I discovered this apparently random feature where when I drag the RT window between the 2 displays, the window automatically resizes to some remembered dimensions.

On the old iMac, I have it take up a quarter of the screen so I can arrange it among the other apps. On the main display, when I drag it over, I usually have it take up roughly half the screen.

I can’t seem to predict when the automatic resizing will and won’t happen, and I would like to be able to control that. I don’t know what causes it to happen in the first place. I never intentionally set that up.

How do I tell that window to auto-resize based on the display/desktop I move it to? Right now, I can’t make it happen, or I’d share a screen recording.

Example (update)

Yesterday, the automatic resizing wouldn’t work at all. I tried multiple times throughout the day. Today it’s working and I can’t make it not work. The computer was never rebooted. The screen auto-locked when I left work. Maybe I have to manually resize on each display and lock and unlock the screen? That would seem ridiculous, but maybe that could be the only way to get it to work?

I tried making a screen recording with both displays in 1 recording, but QuickTime apparently won’t do that, so I recorded each desktop individually…

Auto-Resize Larger (on the Primary Display)

Here it goes nearly full screen which is how I had it yesterday:

Auto-Resize Larger (on the Primary Display)

Auto-Resize Smaller (on the Secondary Display)

Auto-Resize Smaller (on the Secondary Display)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles