[awesome] Remove useless includes
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5d10ca8d1a
commit
effaa99b91
|
@ -47,7 +47,6 @@
|
|||
#include "layout.h"
|
||||
#include "screen.h"
|
||||
#include "statusbar.h"
|
||||
#include "uicb.h"
|
||||
#include "window.h"
|
||||
#include "client.h"
|
||||
#include "focus.h"
|
||||
|
@ -55,10 +54,8 @@
|
|||
#include "tag.h"
|
||||
#include "dbus.h"
|
||||
#include "common/socket.h"
|
||||
#include "common/util.h"
|
||||
#include "common/version.h"
|
||||
#include "common/configopts.h"
|
||||
#include "common/xscreen.h"
|
||||
#include "common/xutil.h"
|
||||
|
||||
static bool running = true;
|
||||
|
|
|
@ -20,13 +20,10 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <confuse.h>
|
||||
|
||||
#include "rules.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
#include <math.h>
|
||||
|
||||
#include "common/draw.h"
|
||||
#include "common/util.h"
|
||||
#include "common/xutil.h"
|
||||
#include "common/markup.h"
|
||||
|
||||
/** Convert text from any charset to UTF-8 using iconv
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <glib.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "common/markup.h"
|
||||
|
||||
|
|
1
dbus.c
1
dbus.c
|
@ -24,7 +24,6 @@
|
|||
#include "dbus.h"
|
||||
#include "statusbar.h"
|
||||
#include "widget.h"
|
||||
#include "common/util.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
3
event.c
3
event.c
|
@ -20,11 +20,8 @@
|
|||
*/
|
||||
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#include <xcb/xcb_atom.h>
|
||||
#include <xcb/xcb_aux.h>
|
||||
#include <xcb/shape.h>
|
||||
#include <xcb/randr.h>
|
||||
|
||||
#include "screen.h"
|
||||
#include "event.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "tag.h"
|
||||
#include "client.h"
|
||||
#include "layouts/fibonacci.h"
|
||||
#include "common/util.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "screen.h"
|
||||
#include "client.h"
|
||||
#include "layouts/max.h"
|
||||
#include "common/util.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "screen.h"
|
||||
#include "awesome.h"
|
||||
#include "tag.h"
|
||||
#include "layout.h"
|
||||
#include "client.h"
|
||||
#include "layouts/tile.h"
|
||||
#include "common/util.h"
|
||||
|
|
1
mouse.c
1
mouse.c
|
@ -32,7 +32,6 @@
|
|||
#include "titlebar.h"
|
||||
#include "layouts/floating.h"
|
||||
#include "layouts/tile.h"
|
||||
#include "common/xscreen.h"
|
||||
|
||||
#define MOUSEMASK (XCB_EVENT_MASK_BUTTON_PRESS \
|
||||
| XCB_EVENT_MASK_BUTTON_RELEASE \
|
||||
|
|
2
widget.h
2
widget.h
|
@ -23,8 +23,6 @@
|
|||
#ifndef AWESOME_WIDGET_H
|
||||
#define AWESOME_WIDGET_H
|
||||
|
||||
#include <confuse.h>
|
||||
|
||||
#include "structs.h"
|
||||
|
||||
#define WIDGET_CACHE_CLIENTS 1<<0
|
||||
|
|
|
@ -22,10 +22,8 @@
|
|||
|
||||
#include "widget.h"
|
||||
#include "screen.h"
|
||||
#include "common/util.h"
|
||||
#include "common/draw.h"
|
||||
#include "common/configopts.h"
|
||||
#include "common/xutil.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
#include "widget.h"
|
||||
#include "tag.h"
|
||||
#include "common/util.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
|
|
@ -20,15 +20,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "widget.h"
|
||||
|
||||
#include "widgets/common.h"
|
||||
#include "screen.h"
|
||||
#include "common/util.h"
|
||||
#include "widgets/common.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "tag.h"
|
||||
#include "event.h"
|
||||
#include "common/markup.h"
|
||||
#include "common/util.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "ewmh.h"
|
||||
#include "rules.h"
|
||||
#include "tag.h"
|
||||
#include "common/util.h"
|
||||
#include "common/configopts.h"
|
||||
|
||||
extern AwesomeConf globalconf;
|
||||
|
|
Loading…
Reference in New Issue