mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Drop wlr_client_buffer usage
This commit is contained in:
parent
33cfdbe886
commit
4bec692734
7 changed files with 42 additions and 13 deletions
|
|
@ -1,10 +1,13 @@
|
|||
#ifndef _SWAY_SURFACE_H
|
||||
#define _SWAY_SURFACE_H
|
||||
#include <wlr/types/wlr_compositor.h>
|
||||
#include <wlr/types/wlr_raster.h>
|
||||
|
||||
struct sway_surface {
|
||||
struct wlr_surface *wlr_surface;
|
||||
struct wlr_raster *raster;
|
||||
|
||||
struct wl_listener commit;
|
||||
struct wl_listener destroy;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#define _SWAY_VIEW_H
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_compositor.h>
|
||||
#include <wlr/types/wlr_raster.h>
|
||||
#include "sway/config.h"
|
||||
#if HAVE_XWAYLAND
|
||||
#include <wlr/xwayland.h>
|
||||
|
|
@ -57,7 +58,7 @@ struct sway_view_impl {
|
|||
};
|
||||
|
||||
struct sway_saved_buffer {
|
||||
struct wlr_client_buffer *buffer;
|
||||
struct wlr_raster *raster;
|
||||
int x, y;
|
||||
int width, height;
|
||||
enum wl_output_transform transform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue