move-to-center doesn't work with multiple monitors
Affected version
- Gnome Shell: 3.34.4
- XOrg and/or Wayland: I have reproduced the issue on multiple machines running XOrg; I haven't tested the issue with Wayland.
Bug summary
org.gnome.desktop.wm.keybindings move-to-center fails to correctly center windows on the active display when using multiple monitors. Windows are instead centered using the width of both monitors.
Steps to reproduce
- While using 2 monitors, attempt to center the active window using the keybinding set by org.gnome.desktop.wm.keybindings move-to-center.
What happened
Instead of bringing the focused window to the center of the active display, the window is centered exactly between the sides of both monitors.