mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
layers: s/arrange_layers/layers_arrange/
Because we like to start public function names with the name of the file. Move prototype from labwc.h to layers.h
This commit is contained in:
parent
04580fa825
commit
98d5fd483d
5 changed files with 9 additions and 8 deletions
|
|
@ -19,7 +19,7 @@
|
|||
#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,
|
||||
|
|
@ -110,7 +110,7 @@ surface_commit_notify(struct wl_listener *listener, void *data)
|
|||
layer->mapped = layer_surface->mapped;
|
||||
struct output *output =
|
||||
output_from_wlr_output(layer->server, wlr_output);
|
||||
arrange_layers(output);
|
||||
layers_arrange(output);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ destroy_notify(struct wl_listener *listener, void *data)
|
|||
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);
|
||||
}
|
||||
|
|
@ -338,7 +338,7 @@ new_layer_surface_notify(struct wl_listener *listener, void *data)
|
|||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue