structs: rename to globalconf

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-07 17:22:32 +02:00
parent b9df512f3a
commit 5b718cdacb
19 changed files with 23 additions and 23 deletions

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_BUTTON_H #ifndef AWESOME_BUTTON_H
#define AWESOME_BUTTON_H #define AWESOME_BUTTON_H
#include "structs.h" #include "globalconf.h"
/** Mouse buttons bindings */ /** Mouse buttons bindings */
struct button_t struct button_t

View File

@ -23,7 +23,7 @@
#include <ctype.h> #include <ctype.h>
#include "color.h" #include "color.h"
#include "structs.h" #include "globalconf.h"
#include "common/xutil.h" #include "common/xutil.h"
#define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff) #define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff)

2
draw.c
View File

@ -29,7 +29,7 @@
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include "structs.h" #include "globalconf.h"
#include "screen.h" #include "screen.h"
#include "common/tokenize.h" #include "common/tokenize.h"

2
ewmh.h
View File

@ -22,7 +22,7 @@
#ifndef AWESOME_EWMH_H #ifndef AWESOME_EWMH_H
#define AWESOME_EWMH_H #define AWESOME_EWMH_H
#include "structs.h" #include "globalconf.h"
#include "strut.h" #include "strut.h"
void ewmh_init(int); void ewmh_init(int);

View File

@ -1,7 +1,7 @@
/* /*
* structs.h - basic structs header * globalconf.h - basic globalconf.header
* *
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info> * Copyright © 2007-2009 Julien Danjou <julien@danjou.info>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -19,8 +19,8 @@
* *
*/ */
#ifndef AWESOME_STRUCTS_H #ifndef AWESOME_GLOBALCONF_H
#define AWESOME_STRUCTS_H #define AWESOME_GLOBALCONF_H
#define SN_API_NOT_YET_FROZEN #define SN_API_NOT_YET_FROZEN
#include <libsn/sn.h> #include <libsn/sn.h>

View File

@ -19,7 +19,7 @@
* *
*/ */
#include "structs.h" #include "globalconf.h"
#include "luaa.h" #include "luaa.h"
#define HANDLE_HOOK(L, h) \ #define HANDLE_HOOK(L, h) \

View File

@ -23,7 +23,7 @@
#include <Imlib2.h> #include <Imlib2.h>
#include "structs.h" #include "globalconf.h"
#include "luaa.h" #include "luaa.h"
#include "common/luaobject.h" #include "common/luaobject.h"

2
key.c
View File

@ -27,7 +27,7 @@
#include <X11/keysym.h> #include <X11/keysym.h>
#include <X11/XF86keysym.h> #include <X11/XF86keysym.h>
#include "structs.h" #include "globalconf.h"
#include "luaa.h" #include "luaa.h"
#include "common/xutil.h" #include "common/xutil.h"
#include "common/luaobject.h" #include "common/luaobject.h"

View File

@ -21,7 +21,7 @@
#include <unistd.h> #include <unistd.h>
#include "structs.h" #include "globalconf.h"
#include "keygrabber.h" #include "keygrabber.h"
#include "key.h" #include "key.h"
#include "luaa.h" #include "luaa.h"

View File

@ -22,7 +22,7 @@
#include "mouse.h" #include "mouse.h"
#include "screen.h" #include "screen.h"
#include "client.h" #include "client.h"
#include "structs.h" #include "globalconf.h"
#include "wibox.h" #include "wibox.h"
#include "luaa.h" #include "luaa.h"
#include "common/tokenize.h" #include "common/tokenize.h"

View File

@ -21,7 +21,7 @@
#include <unistd.h> #include <unistd.h>
#include "structs.h" #include "globalconf.h"
#include "mouse.h" #include "mouse.h"
#include "mousegrabber.h" #include "mousegrabber.h"
#include "luaa.h" #include "luaa.h"

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_PROPERTY_H #ifndef AWESOME_PROPERTY_H
#define AWESOME_PROPERTY_H #define AWESOME_PROPERTY_H
#include "structs.h" #include "globalconf.h"
void property_update_wm_transient_for(client_t *, xcb_get_property_reply_t *); void property_update_wm_transient_for(client_t *, xcb_get_property_reply_t *);
void property_update_wm_client_leader(client_t *c, xcb_get_property_reply_t *); void property_update_wm_client_leader(client_t *c, xcb_get_property_reply_t *);

2
root.c
View File

@ -21,7 +21,7 @@
#include <xcb/xtest.h> #include <xcb/xtest.h>
#include "structs.h" #include "globalconf.h"
#include "button.h" #include "button.h"
#include "wibox.h" #include "wibox.h"
#include "luaa.h" #include "luaa.h"

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_SCREEN_H #ifndef AWESOME_SCREEN_H
#define AWESOME_SCREEN_H #define AWESOME_SCREEN_H
#include "structs.h" #include "globalconf.h"
struct a_screen struct a_screen
{ {

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_SPAWN_H #ifndef AWESOME_SPAWN_H
#define AWESOME_SPAWN_H #define AWESOME_SPAWN_H
#include "structs.h" #include "globalconf.h"
void spawn_init(void); void spawn_init(void);
void spawn_start_notify(client_t *, const char *); void spawn_start_notify(client_t *, const char *);

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_STACK_H #ifndef AWESOME_STACK_H
#define AWESOME_STACK_H #define AWESOME_STACK_H
#include "structs.h" #include "globalconf.h"
void stack_client_remove(client_t *); void stack_client_remove(client_t *);
void stack_client_push(client_t *); void stack_client_push(client_t *);

View File

@ -21,7 +21,7 @@
#include <ev.h> #include <ev.h>
#include "structs.h" #include "globalconf.h"
#include "luaa.h" #include "luaa.h"
#include "timer.h" #include "timer.h"
#include "common/luaobject.h" #include "common/luaobject.h"

View File

@ -1,7 +1,7 @@
/* /*
* systray.c - systray widget * systray.c - systray widget
* *
* Copyright © 2008 Julien Danjou <julien@danjou.info> * Copyright © 2008-2009 Julien Danjou <julien@danjou.info>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -25,7 +25,7 @@
#include "widget.h" #include "widget.h"
#include "screen.h" #include "screen.h"
#include "wibox.h" #include "wibox.h"
#include "structs.h" #include "globalconf.h"
#include "common/xembed.h" #include "common/xembed.h"
#include "common/atoms.h" #include "common/atoms.h"

View File

@ -22,7 +22,7 @@
#ifndef AWESOME_WINDOW_H #ifndef AWESOME_WINDOW_H
#define AWESOME_WINDOW_H #define AWESOME_WINDOW_H
#include "structs.h" #include "globalconf.h"
void window_state_set(xcb_window_t, long); void window_state_set(xcb_window_t, long);
xcb_get_property_cookie_t window_state_get_unchecked(xcb_window_t); xcb_get_property_cookie_t window_state_get_unchecked(xcb_window_t);