Apps Moving To Laptop Display When Switching KVM

Home » CentOS » Apps Moving To Laptop Display When Switching KVM
CentOS 1 Comment

So I installed CentOS Stream 9 on a new Lenovo T14 Gen 4 Intel.

I have a 4×1 HDMI KVM with external monitor.

When switching the KVM, apps move between displays / workspaces in erratic ways.

More specifically, when switching out, apps on the external display usually move to the laptop display.

This sorta makes sense for a laptop with an external display. When the external display is disconnected, you want to have access to the apps.

But for a KVM, the desired behavior is that the apps do NOT move. When switching back, I want all apps (terminals) to be where they were when I switched out.

After much searching, I have found NO discussion of this issue.

Is this a scenario that is even supposed to work?

The KVM worked perfectly with the Windows 11 install that come with the machine (apps on the external display did not move when switching the KVM).

Questions:

Is there a GNOME window manager configuration that does not move apps when it senses the HDMI connection has changed?

I actually had this mostly working with a Dell laptop running a RHEL 9
clone and selecting Xorg on the GDM screen. Apps were not moved when switching out (although depending on particular circumstances they could when switching back).

Where should I be asking about this?
A freedesktop.org list?

Where is the code that moves windows in reaction to a change in displays?

Currently the only way to reliably switch the KVM without all of the apps loosing their positions is to just suspend the machine before and resume after.

One thought on - Apps Moving To Laptop Display When Switching KVM