mirror of
https://github.com/labwc/labwc.git
synced 2026-03-13 05:33:47 -04:00
Add SPDX identifiers
This commit is contained in:
parent
ff75b4cd26
commit
e227de1346
26 changed files with 26 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Very simple C string buffer implementation
|
* Very simple C string buffer implementation
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_DIR_H
|
#ifndef __LABWC_DIR_H
|
||||||
#define __LABWC_DIR_H
|
#define __LABWC_DIR_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_FONT_H
|
#ifndef __LABWC_FONT_H
|
||||||
#define __LABWC_FONT_H
|
#define __LABWC_FONT_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Read file into memory
|
* Read file into memory
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_NODENAME_H
|
#ifndef __LABWC_NODENAME_H
|
||||||
#define __LABWC_NODENAME_H
|
#define __LABWC_NODENAME_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_SPAWN_H
|
#ifndef __LABWC_SPAWN_H
|
||||||
#define __LABWC_SPAWN_H
|
#define __LABWC_SPAWN_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_STRING_HELPERS_H
|
#ifndef __LABWC_STRING_HELPERS_H
|
||||||
#define __LABWC_STRING_HELPERS_H
|
#define __LABWC_STRING_HELPERS_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_ZFREE_H
|
#ifndef __LABWC_ZFREE_H
|
||||||
#define __LABWC_ZFREE_H
|
#define __LABWC_ZFREE_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_KEYBIND_H
|
#ifndef __LABWC_KEYBIND_H
|
||||||
#define __LABWC_KEYBIND_H
|
#define __LABWC_KEYBIND_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_LIBINPUT_H
|
#ifndef __LABWC_LIBINPUT_H
|
||||||
#define __LABWC_LIBINPUT_H
|
#define __LABWC_LIBINPUT_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_MOUSEBIND_H
|
#ifndef __LABWC_MOUSEBIND_H
|
||||||
#define __LABWC_MOUSEBIND_H
|
#define __LABWC_MOUSEBIND_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_RCXML_H
|
#ifndef __LABWC_RCXML_H
|
||||||
#define __LABWC_RCXML_H
|
#define __LABWC_RCXML_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_SESSION_H
|
#ifndef __LABWC_SESSION_H
|
||||||
#define __LABWC_SESSION_H
|
#define __LABWC_SESSION_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_LAYERS_H
|
#ifndef __LABWC_LAYERS_H
|
||||||
#define __LABWC_LAYERS_H
|
#define __LABWC_LAYERS_H
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __RESISTANCE_H
|
#ifndef __RESISTANCE_H
|
||||||
#define __RESISTANCE_H
|
#define __RESISTANCE_H
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_SSD_H
|
#ifndef __LABWC_SSD_H
|
||||||
#define __LABWC_SSD_H
|
#define __LABWC_SSD_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Theme engine for labwc
|
* Theme engine for labwc
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Parse xbm token to create pixmap
|
* Parse xbm token to create pixmap
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* XBM file tokenizer
|
* XBM file tokenizer
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
#ifndef __LABWC_XBM_H
|
#ifndef __LABWC_XBM_H
|
||||||
#define __LABWC_XBM_H
|
#define __LABWC_XBM_H
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "common/buf.h"
|
#include "common/buf.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Find the configuration and theme directories
|
* Find the configuration and theme directories
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <drm_fourcc.h>
|
#include <drm_fourcc.h>
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Read file into memory
|
* Read file into memory
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "common/nodename.h"
|
#include "common/nodename.h"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ is_within_resistance_range(struct edges view, struct edges target,
|
||||||
{
|
{
|
||||||
if (view.left >= other.left && target.left < other.left
|
if (view.left >= other.left && target.left < other.left
|
||||||
&& target.left >= other.left - strength) {
|
&& target.left >= other.left - strength) {
|
||||||
flags->left = 1;
|
flags->left = 1;
|
||||||
} else if (view.right <= other.right && target.right > other.right
|
} else if (view.right <= other.right && target.right > other.right
|
||||||
&& target.right <= other.right + strength) {
|
&& target.right <= other.right + strength) {
|
||||||
flags->right = 1;
|
flags->right = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue