summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
committerBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
commit148026007cae3b97d39d2cfee7562c139eb486b2 (patch)
tree7cc8f8ffaaf7e34756b8550593f3e4999fd6490c /window.c
parent4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff)
downloadnsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst
One header file for type definitions and function declarations
Diffstat (limited to 'window.c')
-rw-r--r--window.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/window.c b/window.c
index 463e52a..71d439f 100644
--- a/window.c
+++ b/window.c
@@ -16,20 +16,17 @@
* along with sxiv. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "sxiv.h"
+#define _WINDOW_CONFIG
+#include "config.h"
+#include "icon/data.h"
+
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <X11/cursorfont.h>
#include <X11/Xatom.h>
-#include "options.h"
-#include "util.h"
-#include "window.h"
-#include "icon/data.h"
-
-#define _WINDOW_CONFIG
-#include "config.h"
-
enum {
H_TEXT_PAD = 5,
V_TEXT_PAD = 1