]> git.mdlowis.com Git - proto/labwc.git/commitdiff
implement commented-out bit in seat_disinhibit_input
authorDaniel Barlow <dan@telent.net>
Tue, 24 Aug 2021 20:24:08 +0000 (21:24 +0100)
committerDaniel Barlow <dan@telent.net>
Tue, 24 Aug 2021 20:24:08 +0000 (21:24 +0100)
include/labwc.h
src/server.c

index 39613272e088756380e31a0f0ef91ce1a0fa69b4..71f74263d7afb68828f2f411e5c9a5adbd3231b6 100644 (file)
@@ -344,6 +344,8 @@ void cursor_init(struct seat *seat);
 
 void keyboard_init(struct seat *seat);
 
+void arrange_layers(struct output *output);
+
 void seat_init(struct server *server);
 void seat_finish(struct server *server);
 void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);
index 3c21eedd2c814dd22c5026a8709442d73643db35..4542264aa39ca49655c8fa56e5137fac106a9127 100644 (file)
@@ -107,11 +107,10 @@ static void seat_disinhibit_input(struct seat *seat)
        seat->active_client_while_inhibited = NULL;
        // Triggers a refocus of the topmost surface layer if necessary
        // TODO: Make layer surface focus per-output based on cursor position
-/*
-  struct roots_output *output;
-       wl_list_for_each(output, &seat->input->server->desktop->outputs, link) {
+
+       struct output *output;
+       wl_list_for_each(output, &seat->server->outputs, link)
                arrange_layers(output);
-*/
 }