This commit is contained in:
Ryan Dwyer 2018-07-05 13:14:04 +00:00 committed by GitHub
commit f3d3014617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 928 additions and 814 deletions

View file

@ -0,0 +1,9 @@
#ifndef _SWAY_RENDER_H
#define _SWAY_RENDER_H
#include <pixman.h>
#include "sway/output.h"
void render_output(struct sway_output *output, struct timespec *when,
pixman_region32_t *damage);
#endif

View file

@ -133,6 +133,7 @@ struct sway_container {
struct sway_container *parent;
float alpha;
float rotation; // in radians
struct wlr_texture *title_focused;
struct wlr_texture *title_focused_inactive;

View file

@ -37,6 +37,8 @@ struct sway_view_impl {
bool (*wants_floating)(struct sway_view *view);
void (*for_each_surface)(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data);
void (*for_each_popup)(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data);
void (*close)(struct sway_view *view);
void (*destroy)(struct sway_view *view);
};