mirror of
https://github.com/brl/mutter.git
synced 2025-03-31 07:33:46 +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
|
else
|
||||||
*x = rect.width / 2;
|
*x = rect.width / 2;
|
||||||
|
|
||||||
if (grab_op & META_GRAB_OP_WINDOW_DIR_SOUTH)
|
if (grab_op & META_GRAB_OP_WINDOW_DIR_NORTH)
|
||||||
*y = 0;
|
*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;
|
*y = rect.height - 1;
|
||||||
else
|
else
|
||||||
*y = rect.height / 2;
|
*y = rect.height / 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user