Skip to content
Snippets Groups Projects
Commit daed6d27 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Fix off-by-one causing windows to be moved wrongly via keyboard (patch from...

Fix off-by-one causing windows to be moved wrongly via keyboard (patch from Darren Salt <linux@youmustbejoking.demon.co.uk>, bug #2594)

(Old svn revision: 23911)
parent 9aec6a14
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,7 @@ clientConstrainPos (Client * c, gboolean show_full)
frame_y = frameY (c);
ret |= CLIENT_CONSTRAINED_BOTTOM;
}
if ((frame_y <= disp_y) && (frame_y >= disp_y - frame_top))
if ((frame_y < disp_y) && (frame_y >= disp_y - frame_top))
{
c->y = disp_y + frame_top;
frame_y = frameY (c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment