Author: tthurman Date: Mon Feb 18 00:21:50 2008 New Revision: 3578 URL: http://svn.gnome.org/viewvc/metacity?rev=3578&view=rev
Log: 2008-02-18 Thomas Thurman <[EMAIL PROTECTED]> * src/core/window.c (warp_grab_pointer): When resizing a window with the keyboard, stay one pixels from the edges so that the cursor remains resting on a window edge even if we escape, whatever side it was on. Closes #436257. Modified: trunk/ChangeLog trunk/src/core/window.c Modified: trunk/src/core/window.c ============================================================================== --- trunk/src/core/window.c (original) +++ trunk/src/core/window.c Mon Feb 18 00:21:50 2008 @@ -7784,7 +7784,7 @@ case META_GRAB_OP_KEYBOARD_RESIZING_S: *x = rect.width / 2; - *y = rect.height; + *y = rect.height - 1; break; case META_GRAB_OP_KEYBOARD_RESIZING_N: @@ -7798,23 +7798,23 @@ break; case META_GRAB_OP_KEYBOARD_RESIZING_E: - *x = rect.width; + *x = rect.width - 1; *y = rect.height / 2; break; case META_GRAB_OP_KEYBOARD_RESIZING_SE: - *x = rect.width; - *y = rect.height; + *x = rect.width - 1; + *y = rect.height - 1; break; case META_GRAB_OP_KEYBOARD_RESIZING_NE: - *x = rect.width; + *x = rect.width - 1; *y = 0; break; case META_GRAB_OP_KEYBOARD_RESIZING_SW: *x = 0; - *y = rect.height; + *y = rect.height - 1; break; case META_GRAB_OP_KEYBOARD_RESIZING_NW: _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.