mirror of
https://github.com/labwc/labwc.git
synced 2026-03-11 05:33:49 -04:00
Add view_move_to_edge() to header file
This commit is contained in:
parent
93c9ec6683
commit
5e83ce6b46
2 changed files with 2 additions and 1 deletions
|
|
@ -298,6 +298,7 @@ void view_for_each_surface(struct view *view,
|
||||||
wlr_surface_iterator_func_t iterator, void *user_data);
|
wlr_surface_iterator_func_t iterator, void *user_data);
|
||||||
void view_for_each_popup_surface(struct view *view,
|
void view_for_each_popup_surface(struct view *view,
|
||||||
wlr_surface_iterator_func_t iterator, void *data);
|
wlr_surface_iterator_func_t iterator, void *data);
|
||||||
|
void view_move_to_edge(struct view *view, const char *direction);
|
||||||
|
|
||||||
void desktop_set_focus_view_only(struct seat *seat, struct view *view);
|
void desktop_set_focus_view_only(struct seat *seat, struct view *view);
|
||||||
void desktop_focus_view(struct seat *seat, struct view *view);
|
void desktop_focus_view(struct seat *seat, struct view *view);
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ view_border(struct view *view)
|
||||||
|
|
||||||
#define GAP (3)
|
#define GAP (3)
|
||||||
void
|
void
|
||||||
view_move_to_edge(struct view *view, char *direction)
|
view_move_to_edge(struct view *view, const char *direction)
|
||||||
{
|
{
|
||||||
if (!view) {
|
if (!view) {
|
||||||
wlr_log(WLR_ERROR, "no view");
|
wlr_log(WLR_ERROR, "no view");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue