Remove extraneous whitespace
This commit is contained in:
parent
9f72a6d874
commit
c6d52b4412
|
@ -197,7 +197,6 @@ void xdpw_pwr_stream_init(struct xdpw_screencast_instance *cast) {
|
||||||
(PW_STREAM_FLAG_DRIVER |
|
(PW_STREAM_FLAG_DRIVER |
|
||||||
PW_STREAM_FLAG_MAP_BUFFERS),
|
PW_STREAM_FLAG_MAP_BUFFERS),
|
||||||
¶m, 1);
|
¶m, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int xdpw_pwr_core_connect(struct xdpw_state *state) {
|
int xdpw_pwr_core_connect(struct xdpw_state *state) {
|
||||||
|
|
|
@ -113,7 +113,6 @@ static struct wl_buffer *create_shm_buffer(struct xdpw_screencast_instance *cast
|
||||||
|
|
||||||
static void wlr_frame_buffer_chparam(struct xdpw_screencast_instance *cast,
|
static void wlr_frame_buffer_chparam(struct xdpw_screencast_instance *cast,
|
||||||
uint32_t format, uint32_t width, uint32_t height, uint32_t stride) {
|
uint32_t format, uint32_t width, uint32_t height, uint32_t stride) {
|
||||||
|
|
||||||
logprint(DEBUG, "wlroots: reset buffer");
|
logprint(DEBUG, "wlroots: reset buffer");
|
||||||
cast->simple_frame.width = width;
|
cast->simple_frame.width = width;
|
||||||
cast->simple_frame.height = height;
|
cast->simple_frame.height = height;
|
||||||
|
@ -126,7 +125,6 @@ static void wlr_frame_buffer_chparam(struct xdpw_screencast_instance *cast,
|
||||||
static void wlr_frame_linux_dmabuf(void *data,
|
static void wlr_frame_linux_dmabuf(void *data,
|
||||||
struct zwlr_screencopy_frame_v1 *frame,
|
struct zwlr_screencopy_frame_v1 *frame,
|
||||||
uint32_t format, uint32_t width, uint32_t height) {
|
uint32_t format, uint32_t width, uint32_t height) {
|
||||||
|
|
||||||
logprint(TRACE, "wlroots: linux_dmabuf event handler");
|
logprint(TRACE, "wlroots: linux_dmabuf event handler");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -229,7 +227,6 @@ static const struct zwlr_screencopy_frame_v1_listener wlr_frame_listener = {
|
||||||
};
|
};
|
||||||
|
|
||||||
void xdpw_wlr_register_cb(struct xdpw_screencast_instance *cast) {
|
void xdpw_wlr_register_cb(struct xdpw_screencast_instance *cast) {
|
||||||
|
|
||||||
cast->frame_callback = zwlr_screencopy_manager_v1_capture_output(
|
cast->frame_callback = zwlr_screencopy_manager_v1_capture_output(
|
||||||
cast->ctx->screencopy_manager, cast->with_cursor, cast->target_output->output);
|
cast->ctx->screencopy_manager, cast->with_cursor, cast->target_output->output);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue