mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
window: Fix the north/south cursor position when keyboard resizing
We got these backwards...
This commit is contained in:
@ -6419,9 +6419,9 @@ warp_grab_pointer (MetaWindow *window,
|
||||
else
|
||||
*x = rect.width / 2;
|
||||
|
||||
if (grab_op & META_GRAB_OP_WINDOW_DIR_SOUTH)
|
||||
if (grab_op & META_GRAB_OP_WINDOW_DIR_NORTH)
|
||||
*y = 0;
|
||||
else if (grab_op & META_GRAB_OP_WINDOW_DIR_NORTH)
|
||||
else if (grab_op & META_GRAB_OP_WINDOW_DIR_SOUTH)
|
||||
*y = rect.height - 1;
|
||||
else
|
||||
*y = rect.height / 2;
|
||||
|
Reference in New Issue
Block a user