Major code refactoring

- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
This commit is contained in:
Bert
2011-07-26 18:01:29 +02:00
parent a271e16744
commit b8ff1677b1
12 changed files with 808 additions and 648 deletions

View File

@ -1,6 +1,6 @@
all: sxiv
VERSION = git-20110722
VERSION = git-20110726
CC = gcc
DESTDIR =
@ -9,7 +9,7 @@ CFLAGS = -Wall -pedantic -DVERSION=\"$(VERSION)\"
LDFLAGS =
LIBS = -lX11 -lImlib2
SRC = image.c main.c options.c thumbs.c util.c window.c
SRC = events.o image.c main.c options.c thumbs.c util.c window.c
OBJ = $(SRC:.c=.o)
sxiv: $(OBJ)