mirror of
				https://github.com/labwc/labwc.git
				synced 2025-10-29 05:40:24 -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 | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_DIR_H | ||||
| #define __LABWC_DIR_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_FONT_H | ||||
| #define __LABWC_FONT_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| /*
 | ||||
|  * Read file into memory | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_NODENAME_H | ||||
| #define __LABWC_NODENAME_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_SPAWN_H | ||||
| #define __LABWC_SPAWN_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_STRING_HELPERS_H | ||||
| #define __LABWC_STRING_HELPERS_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_ZFREE_H | ||||
| #define __LABWC_ZFREE_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_KEYBIND_H | ||||
| #define __LABWC_KEYBIND_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_LIBINPUT_H | ||||
| #define __LABWC_LIBINPUT_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_MOUSEBIND_H | ||||
| #define __LABWC_MOUSEBIND_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_RCXML_H | ||||
| #define __LABWC_RCXML_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_SESSION_H | ||||
| #define __LABWC_SESSION_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_LAYERS_H | ||||
| #define __LABWC_LAYERS_H | ||||
| #include <wayland-server.h> | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __RESISTANCE_H | ||||
| #define __RESISTANCE_H | ||||
| #include "labwc.h" | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_SSD_H | ||||
| #define __LABWC_SSD_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| /*
 | ||||
|  * Theme engine for labwc | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| /*
 | ||||
|  * Parse xbm token to create pixmap | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| /*
 | ||||
|  * XBM file tokenizer | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||||
| #ifndef __LABWC_XBM_H | ||||
| #define __LABWC_XBM_H | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| // SPDX-License-Identifier: GPL-2.0-only
 | ||||
| #include <ctype.h> | ||||
| #include "common/buf.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| // SPDX-License-Identifier: GPL-2.0-only
 | ||||
| /*
 | ||||
|  * Find the configuration and theme directories | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| // SPDX-License-Identifier: GPL-2.0-only
 | ||||
| #include <cairo.h> | ||||
| #include <drm_fourcc.h> | ||||
| #include <pango/pangocairo.h> | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| // SPDX-License-Identifier: GPL-2.0-only
 | ||||
| /*
 | ||||
|  * Read file into memory | ||||
|  * | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| // SPDX-License-Identifier: GPL-2.0-only
 | ||||
| #include <ctype.h> | ||||
| #include <string.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 | ||||
| 			&& 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; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Johan Malm
						Johan Malm