Add view_move_to_edge() to header file

This commit is contained in:
Johan Malm 2021-07-20 20:24:39 +01:00
parent 93c9ec6683
commit 5e83ce6b46
2 changed files with 2 additions and 1 deletions

View file

@ -298,6 +298,7 @@ void view_for_each_surface(struct view *view,
wlr_surface_iterator_func_t iterator, void *user_data);
void view_for_each_popup_surface(struct view *view,
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_focus_view(struct seat *seat, struct view *view);

View file

@ -153,7 +153,7 @@ view_border(struct view *view)
#define GAP (3)
void
view_move_to_edge(struct view *view, char *direction)
view_move_to_edge(struct view *view, const char *direction)
{
if (!view) {
wlr_log(WLR_ERROR, "no view");