mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
In addition to <snapping><range>, <snapping><cornerRange> configures the distance from the screen corner to trigger quater window snapping. Also, new values "up-left", "up-right", "down-left" and "down-right" are allowed for <action name="(Toggle)SnapToEdge" direction="[value]"> and <query tiled="[value]">.
11 lines
345 B
C
11 lines
345 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef LABWC_DIRECTION_H
|
|
#define LABWC_DIRECTION_H
|
|
|
|
#include <wlr/types/wlr_output_layout.h>
|
|
#include "view.h"
|
|
|
|
bool direction_from_view_edge(enum view_edge edge, enum wlr_direction *direction);
|
|
enum wlr_direction direction_get_opposite(enum wlr_direction direction);
|
|
|
|
#endif /* LABWC_DIRECTION_H */
|