mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
Replace enum resize_edge with wlr_edges
This commit is contained in:
parent
389610795b
commit
f129b1b89f
4 changed files with 11 additions and 16 deletions
|
|
@ -984,7 +984,7 @@ void seat_begin_resize_floating(struct sway_seat *seat,
|
|||
seat->op_resize_preserve_ratio = keyboard &&
|
||||
(wlr_keyboard_get_modifiers(keyboard) & WLR_MODIFIER_SHIFT);
|
||||
seat->op_resize_edge = edge == WLR_EDGE_NONE ?
|
||||
RESIZE_EDGE_BOTTOM | RESIZE_EDGE_RIGHT : edge;
|
||||
WLR_EDGE_BOTTOM | WLR_EDGE_RIGHT : edge;
|
||||
seat->op_button = button;
|
||||
seat->op_ref_lx = seat->cursor->cursor->x;
|
||||
seat->op_ref_ly = seat->cursor->cursor->y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue