dock
dock copied to clipboard
Cannot move window to display below dock.
I have 3 displays arranged like this:

I'm completely unable to move any window onto the "Build-in display". My cursor will move below the dock but the window will be stuck above it, eventually "snapping" on to the right side:

same problem as elementary/gala#7
The dock reserves from space starting from its top to the bottom of the Gdk.Screen area: https://github.com/elementary/dock/blob/dabae41e4acea69a7afcc1940d570398e2e0478e/lib/PositionManager.vala#L1505-L1531

Therefore all space below the dock is blocked. The fix which worked for the wingpanel, doesn't work here, because the dock does not span the whole monitor width.
Related to https://github.com/elementary/wingpanel/issues/315 See also: https://gitlab.gnome.org/GNOME/mutter/-/issues/452#note_706118
To fix this the _GNOME_WM_STRUT_AREA specification could be used. It can be used to reserve rectangles starting from individual monitors instead of the entire screen. But it has to be implemented in mutter first.