mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
ssd: eliminate corner extents and correct corner behavior
This commit is contained in:
parent
9a473f1848
commit
11c70c716d
9 changed files with 93 additions and 82 deletions
|
|
@ -3,6 +3,9 @@
|
|||
#define LABWC_SSD_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
|
||||
#include "action.h"
|
||||
#include "common/border.h"
|
||||
|
||||
#define SSD_EXTENDED_AREA 8
|
||||
|
|
@ -111,8 +114,9 @@ enum ssd_part_type ssd_at(const struct ssd *ssd,
|
|||
struct wlr_scene *scene, double lx, double ly);
|
||||
enum ssd_part_type ssd_get_part_type(const struct ssd *ssd,
|
||||
struct wlr_scene_node *node);
|
||||
uint32_t ssd_resize_edges(enum ssd_part_type type);
|
||||
bool ssd_part_contains(enum ssd_part_type whole, enum ssd_part_type candidate);
|
||||
uint32_t ssd_resize_edges(struct cursor_context *ctx, struct wlr_cursor *cursor);
|
||||
bool ssd_part_contains(enum ssd_part_type candidate,
|
||||
struct cursor_context *ctx, struct wlr_cursor *cursor);
|
||||
enum ssd_mode ssd_mode_parse(const char *mode);
|
||||
|
||||
/* TODO: clean up / update */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue