Rename AwesomeConf to awesome_t

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-24 08:59:27 +02:00
parent 4e4a7d2703
commit 0bbd2d4b3e
27 changed files with 27 additions and 30 deletions

View File

@ -63,7 +63,7 @@
bool running = true; bool running = true;
AwesomeConf globalconf; awesome_t globalconf;
#define a_thread_refresh(id, fct) \ #define a_thread_refresh(id, fct) \
do { \ do { \

View File

@ -40,7 +40,7 @@
#include "common/xutil.h" #include "common/xutil.h"
#include "common/xscreen.h" #include "common/xscreen.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Load windows properties, restoring client's tag /** Load windows properties, restoring client's tag
* and floating state before awesome was restarted if any, * and floating state before awesome was restarted if any,

2
dbus.c
View File

@ -25,7 +25,7 @@
#include "statusbar.h" #include "statusbar.h"
#include "widget.h" #include "widget.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static DBusError err; static DBusError err;
static DBusConnection *dbus_connection = NULL; static DBusConnection *dbus_connection = NULL;

View File

@ -39,7 +39,7 @@
#include "common/xscreen.h" #include "common/xscreen.h"
#include "common/xutil.h" #include "common/xutil.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Handle mouse button click /** Handle mouse button click
* \param screen screen number * \param screen screen number

2
ewmh.c
View File

@ -31,7 +31,7 @@
#include "widget.h" #include "widget.h"
#include "titlebar.h" #include "titlebar.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static xcb_atom_t net_supported; static xcb_atom_t net_supported;
static xcb_atom_t net_client_list; static xcb_atom_t net_client_list;

View File

@ -23,7 +23,7 @@
#include "focus.h" #include "focus.h"
#include "client.h" #include "client.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Get the client's node focus. /** Get the client's node focus.
* \param c The client. * \param c The client.

View File

@ -34,7 +34,7 @@
#include "layouts/fibonacci.h" #include "layouts/fibonacci.h"
#include "layouts/floating.h" #include "layouts/floating.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Arrange windows following current selected layout /** Arrange windows following current selected layout
* \param screen the screen to arrange * \param screen the screen to arrange

View File

@ -24,7 +24,7 @@
#include "client.h" #include "client.h"
#include "layouts/fibonacci.h" #include "layouts/fibonacci.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static void static void
layout_fibonacci(int screen, int shape) layout_fibonacci(int screen, int shape)

View File

@ -23,7 +23,7 @@
#include "tag.h" #include "tag.h"
#include "layouts/floating.h" #include "layouts/floating.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
void void
layout_floating(int screen) layout_floating(int screen)

View File

@ -24,7 +24,7 @@
#include "client.h" #include "client.h"
#include "layouts/max.h" #include "layouts/max.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
void void
layout_max(int screen) layout_max(int screen)

View File

@ -27,7 +27,7 @@
#include "layouts/tile.h" #include "layouts/tile.h"
#include "common/util.h" #include "common/util.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static void static void
_tile(int screen, const position_t position) _tile(int screen, const position_t position)

2
lua.c
View File

@ -19,7 +19,7 @@
#include "client.h" #include "client.h"
#include "layouts/tile.h" #include "layouts/tile.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
extern bool running; extern bool running;
extern const name_func_link_t FloatingPlacementList[]; extern const name_func_link_t FloatingPlacementList[];

View File

@ -37,7 +37,7 @@
| XCB_EVENT_MASK_BUTTON_RELEASE \ | XCB_EVENT_MASK_BUTTON_RELEASE \
| XCB_EVENT_MASK_POINTER_MOTION) | XCB_EVENT_MASK_POINTER_MOTION)
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Snap an area to the outside of an area. /** Snap an area to the outside of an area.
* \param geometry geometry of the area to snap * \param geometry geometry of the area to snap

View File

@ -28,7 +28,7 @@
#include "titlebar.h" #include "titlebar.h"
#include "layouts/floating.h" #include "layouts/floating.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
name_func_link_t FloatingPlacementList[] = name_func_link_t FloatingPlacementList[] =
{ {

View File

@ -30,7 +30,7 @@
#include "client.h" #include "client.h"
#include "layouts/floating.h" #include "layouts/floating.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Get screens info /** Get screens info
* \param screen Screen number * \param screen Screen number

View File

@ -30,7 +30,7 @@
#include "widget.h" #include "widget.h"
#include "window.h" #include "window.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static void static void
statusbar_draw(statusbar_t *statusbar) statusbar_draw(statusbar_t *statusbar)

View File

@ -339,8 +339,8 @@ typedef struct
} VirtScreen; } VirtScreen;
/** Main configuration structure */ /** Main configuration structure */
typedef struct AwesomeConf AwesomeConf; typedef struct awesome_t awesome_t;
struct AwesomeConf struct awesome_t
{ {
/** Connection ref */ /** Connection ref */
xcb_connection_t *connection; xcb_connection_t *connection;

2
tag.c
View File

@ -35,7 +35,7 @@
#include "layoutgen.h" #include "layoutgen.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** View or unview a tag. /** View or unview a tag.
* \param tag the tag * \param tag the tag

View File

@ -29,7 +29,7 @@
#include "screen.h" #include "screen.h"
#include "layouts/floating.h" #include "layouts/floating.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
static char * static char *
titlebar_text(client_t *c) titlebar_text(client_t *c)

View File

@ -25,7 +25,7 @@
#include "event.h" #include "event.h"
#include "lua.h" #include "lua.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
#include "widgetgen.h" #include "widgetgen.h"

View File

@ -24,7 +24,7 @@
#include "screen.h" #include "screen.h"
#include "common/draw.h" #include "common/draw.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
typedef struct typedef struct
{ {

View File

@ -21,9 +21,6 @@
#include "widget.h" #include "widget.h"
#include "common/util.h" #include "common/util.h"
#include "common/configopts.h"
extern AwesomeConf globalconf;
typedef struct typedef struct
{ {

View File

@ -22,7 +22,7 @@
#include "screen.h" #include "screen.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
typedef struct typedef struct
{ {

View File

@ -27,7 +27,7 @@
#include "common/markup.h" #include "common/markup.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
typedef struct taglist_drawn_area_t taglist_drawn_area_t; typedef struct taglist_drawn_area_t taglist_drawn_area_t;
struct taglist_drawn_area_t struct taglist_drawn_area_t

View File

@ -28,7 +28,7 @@
#include "tag.h" #include "tag.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
typedef enum typedef enum
{ {

View File

@ -25,7 +25,7 @@
#include "common/util.h" #include "common/util.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
typedef struct typedef struct
{ {

View File

@ -28,7 +28,7 @@
#include "structs.h" #include "structs.h"
#include "window.h" #include "window.h"
extern AwesomeConf globalconf; extern awesome_t globalconf;
/** Mask shorthands */ /** Mask shorthands */
#define BUTTONMASK (XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE) #define BUTTONMASK (XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE)