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;
|
bool running = true;
|
||||||
|
|
||||||
AwesomeConf globalconf;
|
awesome_t globalconf;
|
||||||
|
|
||||||
#define a_thread_refresh(id, fct) \
|
#define a_thread_refresh(id, fct) \
|
||||||
do { \
|
do { \
|
||||||
|
|
2
client.c
2
client.c
|
@ -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
2
dbus.c
|
@ -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;
|
||||||
|
|
2
event.c
2
event.c
|
@ -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
2
ewmh.c
|
@ -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;
|
||||||
|
|
2
focus.c
2
focus.c
|
@ -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.
|
||||||
|
|
2
layout.c
2
layout.c
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
2
lua.c
|
@ -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[];
|
||||||
|
|
||||||
|
|
2
mouse.c
2
mouse.c
|
@ -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
|
||||||
|
|
|
@ -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[] =
|
||||||
{
|
{
|
||||||
|
|
2
screen.c
2
screen.c
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
2
tag.c
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
2
widget.c
2
widget.c
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
|
|
||||||
extern AwesomeConf globalconf;
|
extern awesome_t globalconf;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
2
window.c
2
window.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue