aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-19 19:14:31 +0100
committeremersion <contact@emersion.fr>2017-11-19 19:14:31 +0100
commitbf41e7a794cf4bde3612ec23744400388b9d6756 (patch)
treec89b063a6b58955c90a0bba04fa31da05c446b25 /include/rootston
parenta8b31da52c32a65793d6e941b869d5f2d6736775 (diff)
Make the close command use roots_seat_get_focus, rename a few symbols
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/seat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index 14ba9224..d9a44c2d 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -28,7 +28,7 @@ struct roots_seat_view {
struct roots_view *view;
struct wl_list link; // roots_seat::views
- struct wl_listener destroy;
+ struct wl_listener view_destroy;
};
struct roots_pointer {
@@ -69,7 +69,7 @@ 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);
+struct roots_view *roots_seat_get_focus(struct roots_seat *seat);
void roots_seat_focus_view(struct roots_seat *seat, struct roots_view *view);