rework headers inclusion

This commit is contained in:
Julien Danjou 2008-01-01 18:02:36 +01:00
parent 0e52c0ad1a
commit 4f65aa8f51
28 changed files with 11 additions and 38 deletions

View File

@ -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"

View File

@ -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);

View File

@ -23,7 +23,6 @@
* @defgroup ui_callback User Interface Callbacks
*/
#include <confuse.h>
#include <X11/keysym.h>
#include "statusbar.h"

View File

@ -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
View File

@ -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;

View File

@ -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"

View File

@ -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
View File

@ -28,7 +28,6 @@
#include "focus.h"
#include "screen.h"
#include "client.h"
#include "layout.h"
extern AwesomeConf globalconf;

View File

@ -21,7 +21,6 @@
#include "util.h"
#include "tag.h"
#include "layout.h"
#include "focus.h"
#include "client.h"

View File

@ -23,7 +23,6 @@
#define AWESOME_FOCUS_H
#include "config.h"
#include "uicb.h"
void focus_add_client(Client *);
void focus_delete_client(Client *);

View File

@ -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"

View File

@ -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"

View File

@ -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 *);

View File

@ -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"

View File

@ -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
View File

@ -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
View File

@ -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
View File

@ -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;

View File

@ -26,8 +26,6 @@
#include <confuse.h>
#include "config.h"
#include "draw.h"
#include "uicb.h"
enum { AlignLeft, AlignRight, AlignFlex };

View File

@ -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;

View File

@ -19,7 +19,6 @@
*
*/
#include <confuse.h>
#include "util.h"
#include "widget.h"

View File

@ -21,7 +21,6 @@
*
*/
#include <confuse.h>
#include "widget.h"
#include "util.h"
#include "tag.h"

View File

@ -21,7 +21,6 @@
#include <X11/Xmd.h>
#include <X11/Xatom.h>
#include <confuse.h>
#include "util.h"
#include "focus.h"
#include "tag.h"

View File

@ -19,7 +19,6 @@
*
*/
#include <confuse.h>
#include <string.h>
#include "util.h"
#include "draw.h"

View File

@ -19,7 +19,6 @@
*
*/
#include <confuse.h>
#include "config.h"
#include "util.h"
#include "widget.h"

View File

@ -19,10 +19,10 @@
*
*/
#include <confuse.h>
#include "util.h"
#include "widget.h"
#include "xutil.h"
#include "screen.h"
extern AwesomeConf globalconf;

View File

@ -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;

View File

@ -22,7 +22,8 @@
#ifndef AWESOME_XUTIL_H
#define AWESOME_XUTIL_H
#include "screen.h"
#include <X11/Xlib.h>
#include "uicb.h"
Bool xgettextprop(Display *, Window, Atom, char *, ssize_t);
XColor initxcolor(int, const char *);