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;
AwesomeConf globalconf;
awesome_t globalconf;
#define a_thread_refresh(id, fct) \
do { \

View File

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

2
dbus.c
View File

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

View File

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

2
ewmh.c
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
lua.c
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
tag.c
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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