Add SPDX identifiers

This commit is contained in:
Johan Malm 2021-11-13 21:56:53 +00:00
parent ff75b4cd26
commit e227de1346
26 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Very simple C string buffer implementation
*

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_DIR_H
#define __LABWC_DIR_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_FONT_H
#define __LABWC_FONT_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Read file into memory
*

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_NODENAME_H
#define __LABWC_NODENAME_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_SPAWN_H
#define __LABWC_SPAWN_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_STRING_HELPERS_H
#define __LABWC_STRING_HELPERS_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_ZFREE_H
#define __LABWC_ZFREE_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_KEYBIND_H
#define __LABWC_KEYBIND_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_LIBINPUT_H
#define __LABWC_LIBINPUT_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_MOUSEBIND_H
#define __LABWC_MOUSEBIND_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_RCXML_H
#define __LABWC_RCXML_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_SESSION_H
#define __LABWC_SESSION_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_LAYERS_H
#define __LABWC_LAYERS_H
#include <wayland-server.h>

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __RESISTANCE_H
#define __RESISTANCE_H
#include "labwc.h"

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_SSD_H
#define __LABWC_SSD_H

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Theme engine for labwc
*

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Parse xbm token to create pixmap
*

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* XBM file tokenizer
*

View file

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_XBM_H
#define __LABWC_XBM_H

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <ctype.h>
#include "common/buf.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Find the configuration and theme directories
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <cairo.h>
#include <drm_fourcc.h>
#include <pango/pangocairo.h>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Read file into memory
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <ctype.h>
#include <string.h>
#include "common/nodename.h"

View file

@ -15,7 +15,7 @@ is_within_resistance_range(struct edges view, struct edges target,
{
if (view.left >= other.left && target.left < other.left
&& target.left >= other.left - strength) {
flags->left = 1;
flags->left = 1;
} else if (view.right <= other.right && target.right > other.right
&& target.right <= other.right + strength) {
flags->right = 1;