aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-19 18:15:11 +0100
committeremersion <contact@emersion.fr>2017-11-19 18:15:11 +0100
commita8b31da52c32a65793d6e941b869d5f2d6736775 (patch)
tree13085dcfbf1c8d0001bc03cc8ed59afe001e27bc /include
parent76e8e1a6ad8ac3947b568bec32b7ed0acd69bef1 (diff)
Remove roots_seat_{add,remove}_view
Diffstat (limited to 'include')
-rw-r--r--include/rootston/seat.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index 609d0c74..14ba9224 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -15,7 +15,7 @@ struct roots_seat {
double touch_x, touch_y;
struct wl_list views; // roots_seat_view::link
- struct roots_seat_view *focus;
+ bool has_focus;
struct wl_list keyboards;
struct wl_list pointers;
@@ -63,16 +63,14 @@ void roots_seat_add_device(struct roots_seat *seat,
void roots_seat_remove_device(struct roots_seat *seat,
struct wlr_input_device *device);
-void roots_seat_add_view(struct roots_seat *seat, struct roots_view *view);
-
-void roots_seat_remove_view(struct roots_seat *seat, struct roots_view *view);
-
void roots_seat_configure_cursor(struct roots_seat *seat);
void roots_seat_configure_xcursor(struct roots_seat *seat);
bool roots_seat_has_meta_pressed(struct roots_seat *seat);
+struct roots_view *roots_seat_get_focused_view(struct roots_seat *seat);
+
void roots_seat_focus_view(struct roots_seat *seat, struct roots_view *view);
void roots_seat_begin_move(struct roots_seat *seat, struct roots_view *view);