Support openbox style "cycle window"

We still use alt-F2, but it now feels like alt-tab does.
This commit is contained in:
Johan Malm 2020-05-18 20:54:25 +01:00
parent 0380fd18f3
commit a2c48c7aab
5 changed files with 70 additions and 81 deletions

2
xdg.c
View file

@ -61,7 +61,7 @@ void xdg_surface_unmap(struct wl_listener *listener, void *data)
{
struct view *view = wl_container_of(listener, view, unmap);
view->mapped = false;
view_focus_next_toplevel(view);
view_focus(next_toplevel(view));
}
void xdg_surface_destroy(struct wl_listener *listener, void *data)