mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
Rename roots_seat_cancel_transform
This commit is contained in:
parent
84234b4311
commit
74264d4f62
3 changed files with 3 additions and 3 deletions
|
@ -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_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_seat_view *roots_seat_view_from_view( struct roots_seat *seat,
|
||||||
struct roots_view *view);
|
struct roots_view *view);
|
||||||
|
|
|
@ -159,7 +159,7 @@ static bool keyboard_execute_compositor_binding(struct roots_keyboard *keyboard,
|
||||||
if (keysym == XKB_KEY_Escape) {
|
if (keysym == XKB_KEY_Escape) {
|
||||||
wlr_seat_pointer_end_grab(keyboard->seat->seat);
|
wlr_seat_pointer_end_grab(keyboard->seat->seat);
|
||||||
wlr_seat_keyboard_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;
|
return false;
|
||||||
|
|
|
@ -779,7 +779,7 @@ void roots_seat_begin_rotate(struct roots_seat *seat, struct roots_view *view) {
|
||||||
ROOTS_XCURSOR_ROTATE, seat->cursor->cursor);
|
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_cursor *cursor = seat->cursor;
|
||||||
struct roots_view *view = roots_seat_get_focus(seat);
|
struct roots_view *view = roots_seat_get_focus(seat);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue