diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-08 06:11:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 06:11:27 -0500 |
commit | 703df2a6711322fac90581f2005750b5a72dd148 (patch) | |
tree | 96bf5e33d9c5d95842ba7813f5e37c28693d52ae /rootston/seat.c | |
parent | f469784bbc73bf6346430a2caa7dc366ad2d0308 (diff) | |
parent | 4c60072be584a7ed5b97de325994217a9e96bbd4 (diff) |
Merge pull request #470 from acrisci/feature/xcursor-edges
wlr-edges
Diffstat (limited to 'rootston/seat.c')
-rw-r--r-- | rootston/seat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index 737bbd67..1fa09ad6 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -661,8 +661,9 @@ void roots_seat_begin_resize(struct roots_seat *seat, struct roots_view *view, view_maximize(view, false); wlr_seat_pointer_clear_focus(seat->seat); + const char *resize_name = wlr_xcursor_get_resize_name(edges); wlr_xcursor_manager_set_cursor_image(seat->cursor->xcursor_manager, - roots_xcursor_get_resize_name(edges), seat->cursor->cursor); + resize_name, seat->cursor->cursor); } void roots_seat_begin_rotate(struct roots_seat *seat, struct roots_view *view) { |