SnapToRegion: Add overlay while moving and pressing a modifier

This commit is contained in:
Consolatis 2022-07-06 07:19:28 +02:00
parent 0c31886061
commit 7e99d8ba08
10 changed files with 110 additions and 4 deletions

View file

@ -156,6 +156,8 @@ struct seat {
struct wlr_scene_tree *icons;
} drag;
struct wlr_scene_rect *region_overlay;
struct wl_client *active_client_while_inhibited;
struct wl_list inputs;
struct wl_listener new_input;

View file

@ -32,5 +32,7 @@ void regions_destroy(struct wl_list *regions);
struct region *regions_from_cursor(struct server *server);
struct region *regions_from_name(const char *region_name, struct output *output);
void regions_show_overlay(struct view *view, struct seat *seat, struct region *region);
void regions_hide_overlay(struct server *server, struct seat *seat);
#endif /* __LABWC_REGIONS_H */