aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-19 19:21:18 +0100
committeremersion <contact@emersion.fr>2017-11-19 19:21:18 +0100
commit97ddd2d1df439a5b074e4dfa2865479646b8f3a6 (patch)
treedcae2e3f61df151fcfa68031bfd9e0b5d61f8dcd /rootston/cursor.c
parentbf41e7a794cf4bde3612ec23744400388b9d6756 (diff)
Add roots_seat_cycle_focus
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r--rootston/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 3bb2a700..71075aa9 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -142,7 +142,7 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
if (state == WLR_BUTTON_PRESSED &&
view &&
roots_seat_has_meta_pressed(seat)) {
- roots_seat_focus_view(seat, view);
+ roots_seat_set_focus(seat, view);
uint32_t edges;
switch (button) {
@@ -193,7 +193,7 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
cursor->input_events[i].device = device;
cursor->input_events_idx = (i + 1)
% (sizeof(cursor->input_events) / sizeof(cursor->input_events[0]));
- roots_seat_focus_view(seat, view);
+ roots_seat_set_focus(seat, view);
break;
}
}