Fix resize corners
I was stuck in an X session and noticed that my resize corners all got east or north cursors. It turns out that gnome-shell does not properly advertise support for edge constraints under X11, and the absence of that makes the code for determining the edge under the cursor misbehave.
This change should fix that.