Change awesome_config -> AwesomeConf.
All other struct definitions in the project follow this naming convention.
This commit is contained in:
parent
76a7d91f39
commit
7190e4fa48
|
@ -52,7 +52,7 @@
|
|||
static int (*xerrorxlib) (Display *, XErrorEvent *);
|
||||
static Bool running = True;
|
||||
|
||||
awesome_config globalconf;
|
||||
AwesomeConf globalconf;
|
||||
|
||||
static inline void
|
||||
cleanup_buttons(Button *buttons)
|
||||
|
|
2
client.c
2
client.c
|
@ -36,7 +36,7 @@
|
|||
#include "layouts/floating.h"
|
||||
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Load windows properties, restoring client's tag
|
||||
* and floating state before awesome was restarted if any
|
||||
|
|
2
config.c
2
config.c
|
@ -36,7 +36,7 @@
|
|||
|
||||
#define AWESOME_CONFIG_FILE ".awesomerc"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Link a name to a key symbol */
|
||||
typedef struct
|
||||
|
|
4
config.h
4
config.h
|
@ -49,7 +49,7 @@ struct Rule
|
|||
Rule *next;
|
||||
};
|
||||
|
||||
typedef struct awesome_config awesome_config;
|
||||
typedef struct AwesomeConf AwesomeConf;
|
||||
|
||||
typedef struct Layout Layout;
|
||||
struct Layout
|
||||
|
@ -232,7 +232,7 @@ struct Widget
|
|||
|
||||
|
||||
/** Main configuration structure */
|
||||
struct awesome_config
|
||||
struct AwesomeConf
|
||||
{
|
||||
/** Display ref */
|
||||
Display *display;
|
||||
|
|
2
event.c
2
event.c
|
@ -38,7 +38,7 @@
|
|||
#include "layouts/floating.h"
|
||||
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
#define CLEANMASK(mask) (mask & ~(globalconf.numlockmask | LockMask))
|
||||
|
||||
|
|
2
focus.c
2
focus.c
|
@ -24,7 +24,7 @@
|
|||
#include "layout.h"
|
||||
#include "focus.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
static FocusList *
|
||||
focus_get_node_by_client(Client *c)
|
||||
|
|
2
layout.c
2
layout.c
|
@ -34,7 +34,7 @@
|
|||
#include "layouts/fibonacci.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
const NameFuncLink LayoutsList[] =
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "util.h"
|
||||
#include "layouts/fibonacci.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
static void
|
||||
layout_fibonacci(int screen, int shape)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "tag.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
void
|
||||
layout_floating(int screen)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "util.h"
|
||||
#include "layouts/max.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
void
|
||||
layout_max(int screen)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "layout.h"
|
||||
#include "layouts/tile.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
void
|
||||
uicb_tag_setnmaster(int screen, char * arg)
|
||||
|
|
2
mouse.c
2
mouse.c
|
@ -28,7 +28,7 @@
|
|||
#include "window.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Move client with mouse
|
||||
* \param screen Screen ID
|
||||
|
|
2
screen.c
2
screen.c
|
@ -26,7 +26,7 @@
|
|||
#include "focus.h"
|
||||
#include "statusbar.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Get screens info
|
||||
* \param screen Screen number
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "tag.h"
|
||||
#include "widget.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
void
|
||||
statusbar_draw(int screen)
|
||||
|
|
2
tag.c
2
tag.c
|
@ -28,7 +28,7 @@
|
|||
#include "util.h"
|
||||
#include "rules.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
static void
|
||||
detach_tagclientlink(int screen, TagClientLink *tc)
|
||||
|
|
4
uicb.c
4
uicb.c
|
@ -32,7 +32,7 @@
|
|||
#include "focus.h"
|
||||
#include "layouts/tile.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
const NameFuncLink UicbList[] =
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ const NameFuncLink UicbList[] =
|
|||
};
|
||||
|
||||
static int
|
||||
run_uicb(char *cmd, awesome_config *awesomeconf __attribute ((unused)))
|
||||
run_uicb(char *cmd, AwesomeConf *awesomeconf __attribute ((unused)))
|
||||
{
|
||||
char *p;
|
||||
const char *arg;
|
||||
|
|
2
widget.c
2
widget.c
|
@ -3,7 +3,7 @@
|
|||
#include "widget.h"
|
||||
#include "statusbar.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
const NameFuncLink WidgetList[] =
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "layout.h"
|
||||
#include "focus.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
static int
|
||||
focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "util.h"
|
||||
#include "layout.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
static int
|
||||
layoutinfo_draw(Widget *widget,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "widget.h"
|
||||
#include "tag.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Check if at least one client is tagged with tag number t and is on screen
|
||||
* screen
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "widget.h"
|
||||
#include "xutil.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
||||
typedef struct Data Data;
|
||||
|
|
2
window.c
2
window.c
|
@ -25,7 +25,7 @@
|
|||
#include "window.h"
|
||||
#include "util.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
/** Set client WM_STATE property
|
||||
* \param disp Display ref
|
||||
|
|
Loading…
Reference in New Issue