mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Use compliant header guard
This commit is contained in:
parent
27d4556392
commit
34b8692796
19 changed files with 38 additions and 38 deletions
4
bspwm.h
4
bspwm.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _BSPWM_H
|
||||
#define _BSPWM_H
|
||||
#ifndef BSPWM_H
|
||||
#define BSPWM_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
|
|
4
common.h
4
common.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _COMMON_H
|
||||
#define _COMMON_H
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#define DEFAULT_SOCKET_PATH "/tmp/bspwm-socket"
|
||||
#define SOCKET_ENV_VAR "BSPWM_SOCKET"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _DESKTOP_H
|
||||
#define _DESKTOP_H
|
||||
#ifndef DESKTOP_H
|
||||
#define DESKTOP_H
|
||||
|
||||
#define DEFAULT_DESK_NAME "Desktop"
|
||||
#define WINDOW_GAP 6
|
||||
|
|
4
events.h
4
events.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _EVENTS_H
|
||||
#define _EVENTS_H
|
||||
#ifndef EVENTS_H
|
||||
#define EVENTS_H
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_event.h>
|
||||
|
|
4
ewmh.h
4
ewmh.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _EWMH_H
|
||||
#define _EWMH_H
|
||||
#ifndef EWMH_H
|
||||
#define EWMH_H
|
||||
|
||||
#include <xcb/xcb_ewmh.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _HELPERS_H
|
||||
#define _HELPERS_H
|
||||
#ifndef HELPERS_H
|
||||
#define HELPERS_H
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _HISTORY_H
|
||||
#define _HISTORY_H
|
||||
#ifndef HISTORY_H
|
||||
#define HISTORY_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MESSAGES_H
|
||||
#define _MESSAGES_H
|
||||
#ifndef MESSAGES_H
|
||||
#define MESSAGES_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MONITOR_H
|
||||
#define _MONITOR_H
|
||||
#ifndef MONITOR_H
|
||||
#define MONITOR_H
|
||||
|
||||
#define DEFAULT_MON_NAME "MONITOR"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _POINTER_H
|
||||
#define _POINTER_H
|
||||
#ifndef POINTER_H
|
||||
#define POINTER_H
|
||||
|
||||
void grab_pointer(pointer_action_t pac);
|
||||
void track_pointer(int root_x, int root_y);
|
||||
|
|
4
query.h
4
query.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _QUERY_H
|
||||
#define _QUERY_H
|
||||
#ifndef QUERY_H
|
||||
#define QUERY_H
|
||||
|
||||
typedef enum {
|
||||
DOMAIN_MONITOR,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _RESTORE_H
|
||||
#define _RESTORE_H
|
||||
#ifndef RESTORE_H
|
||||
#define RESTORE_H
|
||||
|
||||
void restore_tree(char *file_path);
|
||||
void restore_history(char *file_path);
|
||||
|
|
4
rule.h
4
rule.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _RULE_H
|
||||
#define _RULE_H
|
||||
#ifndef RULE_H
|
||||
#define RULE_H
|
||||
|
||||
#define MATCH_ALL "*"
|
||||
#define LST_SEP ","
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SETTINGS_H
|
||||
#define _SETTINGS_H
|
||||
#ifndef SETTINGS_H
|
||||
#define SETTINGS_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
|
|
4
stack.h
4
stack.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _STACK_H
|
||||
#define _STACK_H
|
||||
#ifndef STACK_H
|
||||
#define STACK_H
|
||||
|
||||
stacking_list_t *make_stack(node_t *n);
|
||||
void stack_insert_after(stacking_list_t *a, node_t *n);
|
||||
|
|
4
tag.h
4
tag.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TAG_H
|
||||
#define _TAG_H
|
||||
#ifndef TAG_H
|
||||
#define TAG_H
|
||||
|
||||
#define MAXTAGS 32
|
||||
#define DEFAULT_TAG_NAME "*"
|
||||
|
|
4
tree.h
4
tree.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TREE_H
|
||||
#define _TREE_H
|
||||
#ifndef TREE_H
|
||||
#define TREE_H
|
||||
|
||||
void arrange(monitor_t *m, desktop_t *d);
|
||||
void apply_layout(monitor_t *m, desktop_t *d, node_t *n, xcb_rectangle_t rect, xcb_rectangle_t root_rect);
|
||||
|
|
4
types.h
4
types.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TYPES_H
|
||||
#define _TYPES_H
|
||||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <xcb/xcb.h>
|
||||
|
|
4
window.h
4
window.h
|
@ -1,5 +1,5 @@
|
|||
#ifndef _WINDOW_H
|
||||
#define _WINDOW_H
|
||||
#ifndef WINDOW_H
|
||||
#define WINDOW_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <xcb/xcb.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue