Handle usable area for maximized windows

Also fixes some bugs
This commit is contained in:
Drew DeVault 2018-03-26 14:14:23 -04:00
parent ab6c2bf584
commit 097e87ca9f
3 changed files with 65 additions and 35 deletions

View file

@ -86,6 +86,7 @@ void view_update_size(struct roots_view *view, uint32_t width, uint32_t height);
void view_initial_focus(struct roots_view *view);
void view_map(struct roots_view *view, struct wlr_surface *surface);
void view_unmap(struct roots_view *view);
void view_arrange_maximized(struct roots_view *view);
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
void handle_xdg_shell_surface(struct wl_listener *listener, void *data);