void keyboard_init(struct seat *seat);
void keyboard_finish(struct seat *seat);
-void arrange_layers(struct output *output);
-
void seat_init(struct server *server);
void seat_finish(struct server *server);
void seat_reconfigure(struct server *server);
#include <wlr/types/wlr_layer_shell_v1.h>
struct server;
+struct output;
#define LAB_NR_LAYERS (4)
void layers_init(struct server *server);
+void layers_arrange(struct output *output);
+
#endif /* __LABWC_LAYERS_H */
#include "node-descriptor.h"
void
-arrange_layers(struct output *output)
+layers_arrange(struct output *output)
{
struct wlr_box full_area = { 0 };
wlr_output_effective_resolution(output->wlr_output,
layer->mapped = layer_surface->mapped;
struct output *output =
output_from_wlr_output(layer->server, wlr_output);
- arrange_layers(output);
+ layers_arrange(output);
}
}
wl_list_remove(&layer->output_destroy.link);
struct output *output = output_from_wlr_output(layer->server,
layer->scene_layer_surface->layer_surface->output);
- arrange_layers(output);
+ layers_arrange(output);
}
free(layer);
}
*/
struct wlr_layer_surface_v1_state old_state = layer_surface->current;
layer_surface->current = layer_surface->pending;
- arrange_layers(output);
+ layers_arrange(output);
layer_surface->current = old_state;
}
wl_list_for_each(output, &server->outputs, link) {
if (output) {
- arrange_layers(output);
+ layers_arrange(output);
}
}
output_update_for_layout_change(server);
*/
struct output *output;
wl_list_for_each(output, &seat->server->outputs, link) {
- arrange_layers(output);
+ layers_arrange(output);
}
}