Workspace switching glitch when window is outside screen
Fedora 29, GNOME 3.30, Wayland
When I switch between workspaces with my touchpad, and some window is placed partly outside the workspace, it is temporarily shown in the next workspace not only when I am switching to another workspace, but also when I am switching from it to the one in the opposite direction (the "next" one).
In the screencast when the glitches appear I am dragging 4 fingers up to attempt moving to the next (non-existent) workspace.
Limit the moving "rectangle" dimensions in the gesture to the effective screen height and width. Also do not use the space of the top bar to display the bottom pixels of the previous workspace, whose initial position should be
-w instead of
-w + b (w = screen width, b = height of the top bar in pixels)