aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index e752e639..c5242599 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -128,6 +128,16 @@ void view_setup(struct roots_view *view) {
void view_teardown(struct roots_view *view) {
// TODO replace me with a signal
+ /*
+ struct wlr_list *views = view->desktop->views;
+ if (views->length < 2 || views->items[views->length-1] != view) {
+ return;
+ }
+
+ struct roots_view *prev_view = views->items[views->length-2];
+ struct roots_input *input = prev_view->desktop->server->input;
+ set_view_focus(input, prev_view->desktop, prev_view);
+ */
}
struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly,