rootston: damage views when moved

This commit is contained in:
emersion 2018-01-18 12:25:39 +01:00
parent 5089f2d9fb
commit 01bcc2ab01
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
7 changed files with 52 additions and 33 deletions

View file

@ -62,12 +62,12 @@ struct roots_output *desktop_output_from_wlr_output(
struct roots_desktop *desktop, struct wlr_output *output);
struct roots_view *desktop_view_at(struct roots_desktop *desktop, double lx,
double ly, struct wlr_surface **surface, double *sx, double *sy);
void desktop_damage_surface(struct roots_desktop *desktop,
struct wlr_surface *surface, double lx, double ly);
void view_init(struct roots_view *view, struct roots_desktop *desktop);
void view_destroy(struct roots_view *view);
void view_activate(struct roots_view *view, bool activate);
void view_damage(struct roots_view *view);
void view_update_position(struct roots_view *view, double x, double y);
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
void handle_wl_shell_surface(struct wl_listener *listener, void *data);