[awesome] Remove useless includes

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-02 10:44:02 +02:00
parent 5d10ca8d1a
commit effaa99b91
16 changed files with 1 additions and 30 deletions

View File

@ -47,7 +47,6 @@
#include "layout.h" #include "layout.h"
#include "screen.h" #include "screen.h"
#include "statusbar.h" #include "statusbar.h"
#include "uicb.h"
#include "window.h" #include "window.h"
#include "client.h" #include "client.h"
#include "focus.h" #include "focus.h"
@ -55,10 +54,8 @@
#include "tag.h" #include "tag.h"
#include "dbus.h" #include "dbus.h"
#include "common/socket.h" #include "common/socket.h"
#include "common/util.h"
#include "common/version.h" #include "common/version.h"
#include "common/configopts.h" #include "common/configopts.h"
#include "common/xscreen.h"
#include "common/xutil.h" #include "common/xutil.h"
static bool running = true; static bool running = true;

View File

@ -20,13 +20,10 @@
*/ */
#include <errno.h> #include <errno.h>
#include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <confuse.h>
#include "rules.h" #include "rules.h"
#include "common/configopts.h" #include "common/configopts.h"

View File

@ -42,8 +42,6 @@
#include <math.h> #include <math.h>
#include "common/draw.h" #include "common/draw.h"
#include "common/util.h"
#include "common/xutil.h"
#include "common/markup.h" #include "common/markup.h"
/** Convert text from any charset to UTF-8 using iconv /** Convert text from any charset to UTF-8 using iconv

View File

@ -25,7 +25,6 @@
#include <glib.h> #include <glib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "common/markup.h" #include "common/markup.h"

1
dbus.c
View File

@ -24,7 +24,6 @@
#include "dbus.h" #include "dbus.h"
#include "statusbar.h" #include "statusbar.h"
#include "widget.h" #include "widget.h"
#include "common/util.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -20,11 +20,8 @@
*/ */
#include <xcb/xcb_keysyms.h> #include <xcb/xcb_keysyms.h>
#include <xcb/xcb_icccm.h>
#include <xcb/xcb_atom.h> #include <xcb/xcb_atom.h>
#include <xcb/xcb_aux.h> #include <xcb/xcb_aux.h>
#include <xcb/shape.h>
#include <xcb/randr.h>
#include "screen.h" #include "screen.h"
#include "event.h" #include "event.h"

View File

@ -23,7 +23,6 @@
#include "tag.h" #include "tag.h"
#include "client.h" #include "client.h"
#include "layouts/fibonacci.h" #include "layouts/fibonacci.h"
#include "common/util.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -23,7 +23,6 @@
#include "screen.h" #include "screen.h"
#include "client.h" #include "client.h"
#include "layouts/max.h" #include "layouts/max.h"
#include "common/util.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -24,7 +24,6 @@
#include "screen.h" #include "screen.h"
#include "awesome.h" #include "awesome.h"
#include "tag.h" #include "tag.h"
#include "layout.h"
#include "client.h" #include "client.h"
#include "layouts/tile.h" #include "layouts/tile.h"
#include "common/util.h" #include "common/util.h"

View File

@ -32,7 +32,6 @@
#include "titlebar.h" #include "titlebar.h"
#include "layouts/floating.h" #include "layouts/floating.h"
#include "layouts/tile.h" #include "layouts/tile.h"
#include "common/xscreen.h"
#define MOUSEMASK (XCB_EVENT_MASK_BUTTON_PRESS \ #define MOUSEMASK (XCB_EVENT_MASK_BUTTON_PRESS \
| XCB_EVENT_MASK_BUTTON_RELEASE \ | XCB_EVENT_MASK_BUTTON_RELEASE \

View File

@ -23,8 +23,6 @@
#ifndef AWESOME_WIDGET_H #ifndef AWESOME_WIDGET_H
#define AWESOME_WIDGET_H #define AWESOME_WIDGET_H
#include <confuse.h>
#include "structs.h" #include "structs.h"
#define WIDGET_CACHE_CLIENTS 1<<0 #define WIDGET_CACHE_CLIENTS 1<<0

View File

@ -22,10 +22,8 @@
#include "widget.h" #include "widget.h"
#include "screen.h" #include "screen.h"
#include "common/util.h"
#include "common/draw.h" #include "common/draw.h"
#include "common/configopts.h" #include "common/configopts.h"
#include "common/xutil.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -23,7 +23,6 @@
#include "widget.h" #include "widget.h"
#include "tag.h" #include "tag.h"
#include "common/util.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -20,15 +20,10 @@
* *
*/ */
#include <string.h>
#include "widget.h"
#include "widgets/common.h"
#include "screen.h" #include "screen.h"
#include "common/util.h" #include "widgets/common.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;
typedef struct typedef struct

View File

@ -25,7 +25,6 @@
#include "tag.h" #include "tag.h"
#include "event.h" #include "event.h"
#include "common/markup.h" #include "common/markup.h"
#include "common/util.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;

View File

@ -27,7 +27,6 @@
#include "ewmh.h" #include "ewmh.h"
#include "rules.h" #include "rules.h"
#include "tag.h" #include "tag.h"
#include "common/util.h"
#include "common/configopts.h" #include "common/configopts.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;