mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 07:09:11 +02:00
Functionality: * Add configuration to anchor position of messages (#60, 71 in Bugs.md). * Add output priorisation (#38, 68 in Bugs.md). * Print whether output is active in dump. Bug Fixes: * Fix gamma control (72 in Bugs.md). * Add missing commands to example config. * Add message_config to dump output. Example Scripts: * Add screenshot script. * Make example scripts standalone. Documentation: * Escape html tags in config man page. (#68, 69 in Bugs.md) * Improve README.md (#62, 70 in Bugs.md). * Improve SECURITY.md. * Add CONTRIBUTING.md (#62, 70 in Bugs.md). * FAQ: Add Firefox screenshare instructions for wayland. * FAQ: Add wlroots downgrading instructions for workaround in case of temporary wlroots incompatibility. * Update copyright notices to 2024. Development Tooling: * Add new gpg keys (signed by the old ones). * Add PR template. * Add dev-FAQ. * Remove now-unnecessary fanalyzer pragmas.
31 lines
630 B
C
31 lines
630 B
C
// Copyright 2020 - 2024, project-repo and the cagebreak contributors
|
|
// SPDX-License-Identifier: MIT
|
|
// This file is used by the fuzzer in order to prevent executing shell commands.
|
|
|
|
#define _GNU_SOURCE
|
|
#include "../output.h"
|
|
#include <cairo.h>
|
|
#include <cairo/cairo.h>
|
|
#include <stdlib.h>
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
int
|
|
fork(void) {
|
|
return 1;
|
|
}
|
|
|
|
void
|
|
wlr_texture_get_size(struct wlr_texture *texture, int *width, int *height) {
|
|
if(width != NULL) {
|
|
*width = 0;
|
|
}
|
|
|
|
if(height != NULL) {
|
|
*height = 0;
|
|
}
|
|
}
|
|
|
|
cairo_surface_t *
|
|
cairo_image_surface_create(cairo_format_t fmt, int width, int height) {
|
|
return NULL;
|
|
}
|