diff options
author | 2018-08-21 12:41:57 +1000 | |
---|---|---|
committer | 2018-08-21 12:41:57 +1000 | |
commit | f129b1b89fe0726f00a54f4c4857a7a8c5fab220 (patch) | |
tree | 281c34175df99f106ddede83f4291d4e70567980 /sway/input/seat.c | |
parent | Merge pull request #2502 from minus7/workspace-names (diff) | |
download | sway-f129b1b89fe0726f00a54f4c4857a7a8c5fab220.tar.gz sway-f129b1b89fe0726f00a54f4c4857a7a8c5fab220.tar.zst sway-f129b1b89fe0726f00a54f4c4857a7a8c5fab220.zip |
Replace enum resize_edge with wlr_edges
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index caee37a6..4077a8dd 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -984,7 +984,7 @@ void seat_begin_resize_floating(struct sway_seat *seat, | |||
984 | seat->op_resize_preserve_ratio = keyboard && | 984 | seat->op_resize_preserve_ratio = keyboard && |
985 | (wlr_keyboard_get_modifiers(keyboard) & WLR_MODIFIER_SHIFT); | 985 | (wlr_keyboard_get_modifiers(keyboard) & WLR_MODIFIER_SHIFT); |
986 | seat->op_resize_edge = edge == WLR_EDGE_NONE ? | 986 | seat->op_resize_edge = edge == WLR_EDGE_NONE ? |
987 | RESIZE_EDGE_BOTTOM | RESIZE_EDGE_RIGHT : edge; | 987 | WLR_EDGE_BOTTOM | WLR_EDGE_RIGHT : edge; |
988 | seat->op_button = button; | 988 | seat->op_button = button; |
989 | seat->op_ref_lx = seat->cursor->cursor->x; | 989 | seat->op_ref_lx = seat->cursor->cursor->x; |
990 | seat->op_ref_ly = seat->cursor->cursor->y; | 990 | seat->op_ref_ly = seat->cursor->cursor->y; |