mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
SnapToRegion: Add overlay while moving and pressing a modifier
This commit is contained in:
parent
0c31886061
commit
7e99d8ba08
10 changed files with 110 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue