Rename AwesomeConf to awesome_t
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4e4a7d2703
commit
0bbd2d4b3e
|
@ -63,7 +63,7 @@
|
|||
|
||||
bool running = true;
|
||||
|
||||
AwesomeConf globalconf;
|
||||
awesome_t globalconf;
|
||||
|
||||
#define a_thread_refresh(id, fct) \
|
||||
do { \
|
||||
|
|
2
client.c
2
client.c
|
@ -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
2
dbus.c
|
@ -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;
|
||||
|
|
2
event.c
2
event.c
|
@ -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
2
ewmh.c
|
@ -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;
|
||||
|
|
2
focus.c
2
focus.c
|
@ -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.
|
||||
|
|
2
layout.c
2
layout.c
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "tag.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
void
|
||||
layout_floating(int screen)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "client.h"
|
||||
#include "layouts/max.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
void
|
||||
layout_max(int screen)
|
||||
|
|
|
@ -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
2
lua.c
|
@ -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[];
|
||||
|
||||
|
|
2
mouse.c
2
mouse.c
|
@ -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
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "titlebar.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
name_func_link_t FloatingPlacementList[] =
|
||||
{
|
||||
|
|
2
screen.c
2
screen.c
|
@ -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
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "widget.h"
|
||||
#include "window.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
static void
|
||||
statusbar_draw(statusbar_t *statusbar)
|
||||
|
|
|
@ -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
2
tag.c
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "layoutgen.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
/** View or unview a tag.
|
||||
* \param tag the tag
|
||||
|
|
|
@ -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)
|
||||
|
|
2
widget.c
2
widget.c
|
@ -25,7 +25,7 @@
|
|||
#include "event.h"
|
||||
#include "lua.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
#include "widgetgen.h"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "screen.h"
|
||||
#include "common/draw.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
|
||||
#include "widget.h"
|
||||
#include "common/util.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "screen.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "tag.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "common/util.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
extern awesome_t globalconf;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue