diff --git a/cagebreak.c b/cagebreak.c index 28e363f..e7edb4a 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _DEFAULT_SOURCE diff --git a/config.h.in b/config.h.in index a79a80c..35dd0a6 100644 --- a/config.h.in +++ b/config.h.in @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_CONFIG_H #define CG_CONFIG_H diff --git a/example_scripts/cb_script_header.sh b/example_scripts/cb_script_header.sh index 9533beb..770f075 100644 --- a/example_scripts/cb_script_header.sh +++ b/example_scripts/cb_script_header.sh @@ -1,6 +1,6 @@ #!/bin/bash # Copyright 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT named_pipe_send="$(mktemp -u)" named_pipe_recv="$(mktemp -u)" diff --git a/example_scripts/focus_follows_cursor.sh b/example_scripts/focus_follows_cursor.sh index 79e2889..e47bf88 100644 --- a/example_scripts/focus_follows_cursor.sh +++ b/example_scripts/focus_follows_cursor.sh @@ -1,6 +1,6 @@ #!/bin/bash # Copyright 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT # This script uses the cagebreak socket to modify the compositor's behaviour in # such a way that the currently focussed tile follows the cursor, i.e. that the diff --git a/example_scripts/show_workspace_views.sh b/example_scripts/show_workspace_views.sh index 3be9cbb..b5a42ae 100644 --- a/example_scripts/show_workspace_views.sh +++ b/example_scripts/show_workspace_views.sh @@ -1,6 +1,6 @@ #!/bin/bash # Copyright 2020 - 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT # This script displays the process names of the views on the current workspace. diff --git a/examples/config b/examples/config index d79a792..6708e42 100644 --- a/examples/config +++ b/examples/config @@ -1,5 +1,5 @@ # Copyright 2020 - 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT ###################### # General settings an key bindings ###################### diff --git a/fuzz/execl_override.c b/fuzz/execl_override.c index 9fc9e6e..308bd73 100644 --- a/fuzz/execl_override.c +++ b/fuzz/execl_override.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT // This file is used by the fuzzer in order to prevent executing shell commands. #define _GNU_SOURCE diff --git a/fuzz/fuzz-lib.c b/fuzz/fuzz-lib.c index c159538..5211e05 100644 --- a/fuzz/fuzz-lib.c +++ b/fuzz/fuzz-lib.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/fuzz/fuzz-lib.h b/fuzz/fuzz-lib.h index 950f455..9254ced 100644 --- a/fuzz/fuzz-lib.h +++ b/fuzz/fuzz-lib.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_FUZZ_LIB_H #define CG_FUZZ_LIB_H diff --git a/fuzz/fuzz-parse.c b/fuzz/fuzz-parse.c index 0fc060c..b0cb125 100644 --- a/fuzz/fuzz-parse.c +++ b/fuzz/fuzz-parse.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/fuzz/meson.build b/fuzz/meson.build index 01fdd3e..f1c08ac 100644 --- a/fuzz/meson.build +++ b/fuzz/meson.build @@ -1,5 +1,5 @@ # Copyright 2020 - 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT fuzz_sources = [ 'fuzz-parse.c', diff --git a/idle_inhibit_v1.c b/idle_inhibit_v1.c index 9bc3f7a..b4f91f9 100644 --- a/idle_inhibit_v1.c +++ b/idle_inhibit_v1.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include #include diff --git a/idle_inhibit_v1.h b/idle_inhibit_v1.h index f0dce64..74ae956 100644 --- a/idle_inhibit_v1.h +++ b/idle_inhibit_v1.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_IDLE_INHIBIT_H #define CG_IDLE_INHIBIT_H diff --git a/input.h b/input.h index f7877c5..f45e735 100644 --- a/input.h +++ b/input.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef _CG_INPUT_H #define _CG_INPUT_H diff --git a/input_manager.c b/input_manager.c index 83cb966..cfde2c9 100644 --- a/input_manager.c +++ b/input_manager.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/input_manager.h b/input_manager.h index 86dcf2e..b3eb006 100644 --- a/input_manager.h +++ b/input_manager.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_INPUT_MANAGER_H #define CG_INPUT_MANAGER_H diff --git a/ipc_server.c b/ipc_server.c index c28979d..ced183a 100644 --- a/ipc_server.c +++ b/ipc_server.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _DEFAULT_SOURCE diff --git a/ipc_server.h b/ipc_server.h index 2c66b83..41d7b88 100644 --- a/ipc_server.h +++ b/ipc_server.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_IPC_SERVER_H #define CG_IPC_SERVER_H diff --git a/keybinding.c b/keybinding.c index c2f29bb..fa37619 100644 --- a/keybinding.c +++ b/keybinding.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/keybinding.h b/keybinding.h index c11de23..ba96c3d 100644 --- a/keybinding.h +++ b/keybinding.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef KEYBINDING_H diff --git a/libinput.c b/libinput.c index dcb9d1f..e980060 100644 --- a/libinput.c +++ b/libinput.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include "input.h" #include "input_manager.h" diff --git a/meson.build b/meson.build index 0f0f289..a40f08f 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ # Copyright 2020 - 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT project( 'cagebreak', 'c', diff --git a/meson_options.txt b/meson_options.txt index 6d4a787..b7fc956 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,5 +1,5 @@ # Copyright 2020 - 2023, project-repo and the cagebreak contributors -# SPDX -License-Identifier: MIT +# SPDX-License-Identifier: MIT option('xwayland', type: 'boolean', value: 'false', description: 'Enable support for X11 applications') option('man-pages', type: 'boolean', value: 'false', description: 'Build man pages (requires pandoc)') option('fuzz', type: 'boolean', value: 'false', description: 'Enable building fuzzer targets') diff --git a/message.c b/message.c index f0c2c64..74b1d0a 100644 --- a/message.c +++ b/message.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include #include diff --git a/message.h b/message.h index 25bf692..806307c 100644 --- a/message.h +++ b/message.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef MESSAGE_H diff --git a/output.c b/output.c index a75f532..b8fc627 100644 --- a/output.c +++ b/output.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/output.h b/output.h index 0a255df..90cd615 100644 --- a/output.h +++ b/output.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_OUTPUT_H #define CG_OUTPUT_H diff --git a/pango.c b/pango.c index c513f97..3af6f7f 100644 --- a/pango.c +++ b/pango.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include #include diff --git a/pango.h b/pango.h index 30f2865..53a78cc 100644 --- a/pango.h +++ b/pango.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef _SWAY_PANGO_H #define _SWAY_PANGO_H diff --git a/parse.c b/parse.c index d250439..93fdbf4 100644 --- a/parse.c +++ b/parse.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/parse.h b/parse.h index 4e38ea9..2949315 100644 --- a/parse.h +++ b/parse.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef PARSE_H diff --git a/seat.c b/seat.c index a3e09a0..f75ff62 100644 --- a/seat.c +++ b/seat.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/seat.h b/seat.h index e44d808..74f4092 100644 --- a/seat.h +++ b/seat.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_SEAT_H #define CG_SEAT_H diff --git a/server.c b/server.c index 292d0b0..c50f528 100644 --- a/server.c +++ b/server.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2019 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/server.h b/server.h index 39d26f4..3c13c4e 100644 --- a/server.h +++ b/server.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX-License-Identifier: MIT + #ifndef CG_SERVER_H #define CG_SERVER_H diff --git a/util.c b/util.c index 455f306..f8c7a82 100644 --- a/util.c +++ b/util.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include diff --git a/util.h b/util.h index ef3f532..b509a00 100644 --- a/util.h +++ b/util.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_UTIL_H #define CG_UTIL_H diff --git a/view.c b/view.c index 74c31b8..99e2e7c 100644 --- a/view.c +++ b/view.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/view.h b/view.h index 99e3e65..b3b2ed6 100644 --- a/view.h +++ b/view.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_VIEW_H #define CG_VIEW_H diff --git a/workspace.c b/workspace.c index 1caff0d..3f84c6f 100644 --- a/workspace.c +++ b/workspace.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/workspace.h b/workspace.h index e0f2473..b669cec 100644 --- a/workspace.h +++ b/workspace.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_WORKSPACE_H #define CG_WORKSPACE_H diff --git a/xdg_shell.c b/xdg_shell.c index fc251c7..164ede0 100644 --- a/xdg_shell.c +++ b/xdg_shell.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/xdg_shell.h b/xdg_shell.h index e066208..fd80b99 100644 --- a/xdg_shell.h +++ b/xdg_shell.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_XDG_SHELL_H #define CG_XDG_SHELL_H diff --git a/xwayland.c b/xwayland.c index f601a0f..fd8d174 100644 --- a/xwayland.c +++ b/xwayland.c @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #include "config.h" diff --git a/xwayland.h b/xwayland.h index cde30c5..71a0b7a 100644 --- a/xwayland.h +++ b/xwayland.h @@ -1,5 +1,5 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors -// SPDX -License-Identifier: MIT +// SPDX-License-Identifier: MIT #ifndef CG_XWAYLAND_H #define CG_XWAYLAND_H