mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
window: Fix the north/south cursor position when keyboard resizing
We got these backwards...
This commit is contained in:
parent
8a0da1cb07
commit
933d05a565
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user