mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
21 lines
501 B
C
21 lines
501 B
C
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||
|
|
#ifndef LABWC_SNAP_CONSTRAINTS_H
|
||
|
|
#define LABWC_SNAP_CONSTRAINTS_H
|
||
|
|
|
||
|
|
#include "common/border.h"
|
||
|
|
#include "view.h"
|
||
|
|
|
||
|
|
struct wlr_box;
|
||
|
|
|
||
|
|
void snap_constraints_set(struct view *view,
|
||
|
|
enum view_edge direction, struct wlr_box geom);
|
||
|
|
|
||
|
|
void snap_constraints_invalidate(struct view *view);
|
||
|
|
|
||
|
|
void snap_constraints_update(struct view *view);
|
||
|
|
|
||
|
|
struct wlr_box snap_constraints_effective(struct view *view,
|
||
|
|
enum view_edge direction);
|
||
|
|
|
||
|
|
#endif /* LABWC_SNAP_CONSTRAINTS_H */
|