Rename roots_seat_cancel_transform

This commit is contained in:
Vincent Vanlaer 2018-02-08 13:13:33 +01:00
parent 84234b4311
commit 74264d4f62
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ void roots_seat_begin_resize(struct roots_seat *seat, struct roots_view *view,
void roots_seat_begin_rotate(struct roots_seat *seat, struct roots_view *view);
void roots_seat_cancel_transform(struct roots_seat *seat);
void roots_seat_end_compositor_grab(struct roots_seat *seat);
struct roots_seat_view *roots_seat_view_from_view( struct roots_seat *seat,
struct roots_view *view);

View File

@ -159,7 +159,7 @@ static bool keyboard_execute_compositor_binding(struct roots_keyboard *keyboard,
if (keysym == XKB_KEY_Escape) {
wlr_seat_pointer_end_grab(keyboard->seat->seat);
wlr_seat_keyboard_end_grab(keyboard->seat->seat);
roots_seat_cancel_transform(keyboard->seat);
roots_seat_end_compositor_grab(keyboard->seat);
}
return false;

View File

@ -779,7 +779,7 @@ void roots_seat_begin_rotate(struct roots_seat *seat, struct roots_view *view) {
ROOTS_XCURSOR_ROTATE, seat->cursor->cursor);
}
void roots_seat_cancel_transform(struct roots_seat *seat) {
void roots_seat_end_compositor_grab(struct roots_seat *seat) {
struct roots_cursor *cursor = seat->cursor;
struct roots_view *view = roots_seat_get_focus(seat);