Make the close command use roots_seat_get_focus, rename a few symbols

This commit is contained in:
emersion 2017-11-19 19:14:31 +01:00
parent a8b31da52c
commit bf41e7a794
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 17 additions and 18 deletions

View file

@ -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);