rework headers inclusion
This commit is contained in:
parent
0e52c0ad1a
commit
4f65aa8f51
3
client.c
3
client.c
|
@ -25,9 +25,7 @@
|
|||
#include <X11/extensions/Xinerama.h>
|
||||
|
||||
#include "client.h"
|
||||
#include "screen.h"
|
||||
#include "awesome.h"
|
||||
#include "layout.h"
|
||||
#include "tag.h"
|
||||
#include "rules.h"
|
||||
#include "util.h"
|
||||
|
@ -36,6 +34,7 @@
|
|||
#include "window.h"
|
||||
#include "focus.h"
|
||||
#include "ewmh.h"
|
||||
#include "screen.h"
|
||||
#include "layouts/floating.h"
|
||||
|
||||
|
||||
|
|
1
client.h
1
client.h
|
@ -23,7 +23,6 @@
|
|||
#define AWESOME_CLIENT_H
|
||||
|
||||
#include "config.h"
|
||||
#include "uicb.h"
|
||||
|
||||
Bool client_isvisible(Client *, int);
|
||||
Client * get_client_bywin(Client *, Window);
|
||||
|
|
1
config.c
1
config.c
|
@ -23,7 +23,6 @@
|
|||
* @defgroup ui_callback User Interface Callbacks
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include <X11/keysym.h>
|
||||
|
||||
#include "statusbar.h"
|
||||
|
|
3
config.h
3
config.h
|
@ -22,11 +22,8 @@
|
|||
#ifndef AWESOME_CONFIG_H
|
||||
#define AWESOME_CONFIG_H
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xft/Xft.h>
|
||||
#include <regex.h>
|
||||
#include "draw.h"
|
||||
#include "uicb.h"
|
||||
#include "layout.h"
|
||||
|
||||
/** Bar possible position */
|
||||
|
|
4
draw.c
4
draw.c
|
@ -23,10 +23,8 @@
|
|||
#include <cairo-ft.h>
|
||||
#include <cairo-xlib.h>
|
||||
#include <math.h>
|
||||
#include "config.h"
|
||||
#include "layout.h"
|
||||
#include "util.h"
|
||||
#include "draw.h"
|
||||
#include "config.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
2
event.c
2
event.c
|
@ -27,9 +27,7 @@
|
|||
|
||||
#include "screen.h"
|
||||
#include "event.h"
|
||||
#include "layout.h"
|
||||
#include "tag.h"
|
||||
#include "draw.h"
|
||||
#include "statusbar.h"
|
||||
#include "util.h"
|
||||
#include "window.h"
|
||||
|
|
2
event.h
2
event.h
|
@ -22,7 +22,7 @@
|
|||
#ifndef AWESOME_EVENT_H
|
||||
#define AWESOME_EVENT_H
|
||||
|
||||
#include "config.h"
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#define CLEANMASK(mask) (mask & ~(globalconf.numlockmask | LockMask))
|
||||
|
||||
|
|
1
ewmh.c
1
ewmh.c
|
@ -28,7 +28,6 @@
|
|||
#include "focus.h"
|
||||
#include "screen.h"
|
||||
#include "client.h"
|
||||
#include "layout.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
1
focus.c
1
focus.c
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include "util.h"
|
||||
#include "tag.h"
|
||||
#include "layout.h"
|
||||
#include "focus.h"
|
||||
#include "client.h"
|
||||
|
||||
|
|
1
focus.h
1
focus.h
|
@ -23,7 +23,6 @@
|
|||
#define AWESOME_FOCUS_H
|
||||
|
||||
#include "config.h"
|
||||
#include "uicb.h"
|
||||
|
||||
void focus_add_client(Client *);
|
||||
void focus_delete_client(Client *);
|
||||
|
|
3
layout.c
3
layout.c
|
@ -22,8 +22,6 @@
|
|||
#include <X11/Xatom.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#include "screen.h"
|
||||
#include "layout.h"
|
||||
#include "tag.h"
|
||||
#include "util.h"
|
||||
#include "xutil.h"
|
||||
|
@ -31,6 +29,7 @@
|
|||
#include "statusbar.h"
|
||||
#include "ewmh.h"
|
||||
#include "client.h"
|
||||
#include "screen.h"
|
||||
#include "layouts/tile.h"
|
||||
#include "layouts/max.h"
|
||||
#include "layouts/fibonacci.h"
|
||||
|
|
1
screen.c
1
screen.c
|
@ -24,7 +24,6 @@
|
|||
#include "util.h"
|
||||
#include "screen.h"
|
||||
#include "tag.h"
|
||||
#include "layout.h"
|
||||
#include "focus.h"
|
||||
#include "statusbar.h"
|
||||
#include "client.h"
|
||||
|
|
1
screen.h
1
screen.h
|
@ -23,7 +23,6 @@
|
|||
#define AWESOME_SCREEN_H
|
||||
|
||||
#include "config.h"
|
||||
#include "uicb.h"
|
||||
|
||||
Area get_screen_area(int, Statusbar *, Padding *);
|
||||
Area get_display_area(int, Statusbar *, Padding *);
|
||||
|
|
|
@ -22,9 +22,7 @@
|
|||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "layout.h"
|
||||
#include "statusbar.h"
|
||||
#include "draw.h"
|
||||
#include "screen.h"
|
||||
#include "util.h"
|
||||
#include "tag.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#define AWESOME_STATUSBAR_H
|
||||
|
||||
#include "config.h"
|
||||
#include "uicb.h"
|
||||
|
||||
void statusbar_draw_all(int);
|
||||
void statusbar_init(Statusbar *, int);
|
||||
|
|
1
tag.c
1
tag.c
|
@ -23,7 +23,6 @@
|
|||
#include <X11/Xutil.h>
|
||||
|
||||
#include "screen.h"
|
||||
#include "layout.h"
|
||||
#include "tag.h"
|
||||
#include "util.h"
|
||||
#include "rules.h"
|
||||
|
|
1
tag.h
1
tag.h
|
@ -23,7 +23,6 @@
|
|||
#define AWESOME_TAG_H
|
||||
|
||||
#include "config.h"
|
||||
#include "uicb.h"
|
||||
|
||||
/** Check if a client is tiled */
|
||||
#define IS_TILED(client, screen) (client && !client->isfloating && client_isvisible(client, screen))
|
||||
|
|
3
uicb.c
3
uicb.c
|
@ -22,14 +22,13 @@
|
|||
#include "awesome.h"
|
||||
#include "util.h"
|
||||
#include "xutil.h"
|
||||
#include "screen.h"
|
||||
#include "tag.h"
|
||||
#include "layout.h"
|
||||
#include "mouse.h"
|
||||
#include "statusbar.h"
|
||||
#include "widget.h"
|
||||
#include "focus.h"
|
||||
#include "client.h"
|
||||
#include "screen.h"
|
||||
#include "layouts/tile.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
|
2
widget.h
2
widget.h
|
@ -26,8 +26,6 @@
|
|||
#include <confuse.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "draw.h"
|
||||
#include "uicb.h"
|
||||
|
||||
enum { AlignLeft, AlignRight, AlignFlex };
|
||||
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <confuse.h>
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
#include "layout.h"
|
||||
#include "tag.h"
|
||||
#include "focus.h"
|
||||
#include "xutil.h"
|
||||
#include "screen.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include "widget.h"
|
||||
#include "util.h"
|
||||
#include "tag.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <X11/Xmd.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <confuse.h>
|
||||
#include "util.h"
|
||||
#include "focus.h"
|
||||
#include "tag.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include <string.h>
|
||||
#include "util.h"
|
||||
#include "draw.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include "config.h"
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <confuse.h>
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
#include "xutil.h"
|
||||
#include "screen.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
3
xutil.c
3
xutil.c
|
@ -23,9 +23,10 @@
|
|||
#include <X11/extensions/Xinerama.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "util.h"
|
||||
#include "xutil.h"
|
||||
|
||||
#include "screen.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
Loading…
Reference in New Issue