mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Cleanup includes of wcore.h, defaults.h and pixmap.h
Several files were including others for no reason, and this slows down the build time (but probably not measurable on a fast machine).
This commit is contained in:
@@ -32,7 +32,6 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "appicon.h"
|
#include "appicon.h"
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#include <wraster.h>
|
#include <wraster.h>
|
||||||
|
|
||||||
#include "wcore.h"
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "application.h"
|
#include "application.h"
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "texture.h"
|
#include "texture.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "appicon.h"
|
#include "appicon.h"
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "properties.h"
|
#include "properties.h"
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "GNUstep.h"
|
#include "GNUstep.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "keybind.h"
|
#include "keybind.h"
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
#include <wraster.h>
|
#include <wraster.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "texture.h"
|
#include "texture.h"
|
||||||
|
|||||||
@@ -58,7 +58,6 @@
|
|||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "defaults.h"
|
|
||||||
#include "xinerama.h"
|
#include "xinerama.h"
|
||||||
|
|
||||||
extern WPreferences wPreferences;
|
extern WPreferences wPreferences;
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "appicon.h"
|
#include "appicon.h"
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#ifndef WMFRAMEWINDOW_H_
|
#ifndef WMFRAMEWINDOW_H_
|
||||||
#define WMFRAMEWINDOW_H_
|
#define WMFRAMEWINDOW_H_
|
||||||
|
|
||||||
|
#include "wcore.h"
|
||||||
|
#include "pixmap.h"
|
||||||
|
|
||||||
#define BORDER_TOP 1
|
#define BORDER_TOP 1
|
||||||
#define BORDER_BOTTOM 2
|
#define BORDER_BOTTOM 2
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "keybind.h"
|
#include "keybind.h"
|
||||||
#include "xmodifier.h"
|
#include "xmodifier.h"
|
||||||
#include "defaults.h"
|
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
#include "defaults.h"
|
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
#include "xutil.h"
|
#include "xutil.h"
|
||||||
#include "xmodifier.h"
|
#include "xmodifier.h"
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
|
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "properties.h"
|
#include "properties.h"
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
#include "pixmap.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*----------------------------------------------------------------------
|
*----------------------------------------------------------------------
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#ifndef WMPIXMAP_H_
|
#ifndef WMPIXMAP_H_
|
||||||
#define WMPIXMAP_H_
|
#define WMPIXMAP_H_
|
||||||
|
|
||||||
|
#include "screen.h"
|
||||||
|
|
||||||
typedef struct WPixmap {
|
typedef struct WPixmap {
|
||||||
Pixmap image; /* icon image */
|
Pixmap image; /* icon image */
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "texture.h"
|
#include "texture.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "pixmap.h"
|
|
||||||
|
|
||||||
int wGetColor(WScreen * scr, char *color_name, XColor * color)
|
int wGetColor(WScreen * scr, char *color_name, XColor * color)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -74,7 +74,6 @@
|
|||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "workspace.h"
|
#include "workspace.h"
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
|
|||||||
@@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
#include <wraster.h>
|
#include <wraster.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "texture.h"
|
#include "texture.h"
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ typedef struct _WCoreWindow {
|
|||||||
} WCoreWindow;
|
} WCoreWindow;
|
||||||
|
|
||||||
|
|
||||||
#include "pixmap.h"
|
|
||||||
WCoreWindow *wCoreCreateTopLevel(WScreen *screen, int x, int y, int width,
|
WCoreWindow *wCoreCreateTopLevel(WScreen *screen, int x, int y, int width,
|
||||||
int height, int bwidth);
|
int height, int bwidth);
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
#include "WindowMaker.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "framewin.h"
|
#include "framewin.h"
|
||||||
#include "wcore.h"
|
|
||||||
#include "funcs.h"
|
#include "funcs.h"
|
||||||
|
|
||||||
#ifdef XINERAMA
|
#ifdef XINERAMA
|
||||||
|
|||||||
Reference in New Issue
Block a user