mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
Merge f259d24138 into 9ba59cb3c9
This commit is contained in:
commit
f3d3014617
8 changed files with 928 additions and 814 deletions
9
include/sway/desktop/render.h
Normal file
9
include/sway/desktop/render.h
Normal 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
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue