labwc/include/placement.h
Andrew J. Hesford b1c5e95c05 view: honor automatic placement when adjusting floating geometry
The view_adjust_floating_geometry function is called when un-maximizing
a window or changing the output layout to ensure that views are well
placed. Rather than always centering these views should they fall
offscren, use the automatic placement strategy if so configured.
2023-12-30 16:50:09 +00:00

11 lines
266 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_PLACEMENT_H
#define LABWC_PLACEMENT_H
#include <stdbool.h>
#include <wlr/util/box.h>
#include "view.h"
bool placement_find_best(struct view *view, struct wlr_box *geometry);
#endif /* LABWC_PLACEMENT_H */